Преглед изворни кода

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

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

GitOrigin-RevId: e1be605a398f5fdb2548509cf93ad72c4cc67f84
Alf Eaton пре 4 година
родитељ
комит
103e31163a
1 измењених фајлова са 0 додато и 7 уклоњено
  1. 0 7
      services/web/app/src/Features/Subscription/SubscriptionRouter.js

+ 0 - 7
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
-    )
   },
 }