mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-28 22:33:39 -05:00
Merge pull request #18644 from overleaf/ii-delete-with-body-teardown-old-routes
[web] Tear down deprecated routes GitOrigin-RevId: b86e1d9283a30d36f77148eeb782a7f37987854a
This commit is contained in:
parent
e452f1df5b
commit
dd7970c11d
1 changed files with 0 additions and 12 deletions
|
@ -951,18 +951,6 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||||
RateLimiterMiddleware.rateLimit(rateLimiters.removeProjectFromTag),
|
RateLimiterMiddleware.rateLimit(rateLimiters.removeProjectFromTag),
|
||||||
TagsController.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(
|
webRouter.post(
|
||||||
'/tag/:tagId/projects/remove',
|
'/tag/:tagId/projects/remove',
|
||||||
AuthenticationController.requireLogin(),
|
AuthenticationController.requireLogin(),
|
||||||
|
|
Loading…
Reference in a new issue