From a08dd26ef39b081e6456dbfc45e822d8022518b9 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 11 May 2017 10:07:04 +0100 Subject: [PATCH] Remove CooldownMiddlewear from Tpds routes --- services/web/app/coffee/router.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/coffee/router.coffee b/services/web/app/coffee/router.coffee index e0fb433b97..fa799a2dff 100644 --- a/services/web/app/coffee/router.coffee +++ b/services/web/app/coffee/router.coffee @@ -221,10 +221,10 @@ module.exports = class Router apiRouter.get '/project/:Project_id/doc/:doc_id', AuthenticationController.httpAuth, DocumentController.getDocument apiRouter.post '/project/:Project_id/doc/:doc_id', AuthenticationController.httpAuth, DocumentController.setDocument - apiRouter.post '/user/:user_id/update/*', AuthenticationController.httpAuth, CooldownMiddlewear.freezeProject, TpdsController.mergeUpdate + apiRouter.post '/user/:user_id/update/*', AuthenticationController.httpAuth, TpdsController.mergeUpdate apiRouter.delete '/user/:user_id/update/*', AuthenticationController.httpAuth, TpdsController.deleteUpdate - apiRouter.post '/project/:project_id/contents/*', AuthenticationController.httpAuth, CooldownMiddlewear.freezeProject, TpdsController.updateProjectContents + apiRouter.post '/project/:project_id/contents/*', AuthenticationController.httpAuth, TpdsController.updateProjectContents apiRouter.delete '/project/:project_id/contents/*', AuthenticationController.httpAuth, TpdsController.deleteProjectContents webRouter.post "/spelling/check", AuthenticationController.requireLogin(), SpellingController.proxyRequestToSpellingApi