From dd7970c11d74448291c03daabd4122ff7a4a0110 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:41:00 +0300 Subject: [PATCH] Merge pull request #18644 from overleaf/ii-delete-with-body-teardown-old-routes [web] Tear down deprecated routes GitOrigin-RevId: b86e1d9283a30d36f77148eeb782a7f37987854a --- services/web/app/src/router.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/services/web/app/src/router.js b/services/web/app/src/router.js index a9a44d3383..729d8585c1 100644 --- a/services/web/app/src/router.js +++ b/services/web/app/src/router.js @@ -951,18 +951,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) { RateLimiterMiddleware.rateLimit(rateLimiters.removeProjectFromTag), TagsController.removeProjectFromTag ) - // Deprecated - webRouter.delete( - '/tag/:tagId/projects', - AuthenticationController.requireLogin(), - RateLimiterMiddleware.rateLimit(rateLimiters.removeProjectsFromTag), - validate({ - body: Joi.object({ - projectIds: Joi.array().items(Joi.string()).required(), - }), - }), - TagsController.removeProjectsFromTag - ) webRouter.post( '/tag/:tagId/projects/remove', AuthenticationController.requireLogin(),