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-03-28 11:23:33 +01:00 committed by Copybot
parent 199ab985a0
commit 103e31163a

View file

@ -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
)
},
}