Merge pull request #7252 from overleaf/jpa-drop-unused-endpoint

[web] drop unused endpoint for refreshing user features in CI

GitOrigin-RevId: e1be605a398f5fdb2548509cf93ad72c4cc67f84
This commit is contained in:
Alf Eaton
2022-04-05 12:16:55 +00:00
committed by Copybot
parent 199ab985a0
commit 103e31163a
@@ -141,12 +141,5 @@ module.exports = {
AuthenticationController.requireLogin(),
SubscriptionController.updateAccountEmailAddress
)
// Currently used in acceptance tests only, as a way to trigger the syncing logic
return publicApiRouter.post(
'/user/:user_id/features/sync',
AuthenticationController.requirePrivateApiAuth(),
SubscriptionController.refreshUserFeatures
)
},
}