From 103e31163a6d434824cdaa4c7f07ee8b44024379 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 28 Mar 2022 11:23:33 +0100 Subject: [PATCH] Merge pull request #7252 from overleaf/jpa-drop-unused-endpoint [web] drop unused endpoint for refreshing user features in CI GitOrigin-RevId: e1be605a398f5fdb2548509cf93ad72c4cc67f84 --- .../app/src/Features/Subscription/SubscriptionRouter.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/services/web/app/src/Features/Subscription/SubscriptionRouter.js b/services/web/app/src/Features/Subscription/SubscriptionRouter.js index 94ceb29288..0b86e28e0b 100644 --- a/services/web/app/src/Features/Subscription/SubscriptionRouter.js +++ b/services/web/app/src/Features/Subscription/SubscriptionRouter.js @@ -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 - ) }, }