From d38da1117fc95eda0ff893af43c1cf008a8fb942 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 18 May 2020 13:17:44 +0200 Subject: [PATCH] Fix bad routes --- src/controllers/Routes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/Routes.ts b/src/controllers/Routes.ts index bc2dac3..388f3a3 100644 --- a/src/controllers/Routes.ts +++ b/src/controllers/Routes.ts @@ -280,9 +280,9 @@ export const Routes : Route[] = [ {path: "/surveys/cancel_response", cb: (h) => SurveyController.CancelResponse(h)}, - {path: "/survey/create_new_choice", cb: (h) => SurveyController.CreateNewChoice(h)}, + {path: "/surveys/create_new_choice", cb: (h) => SurveyController.CreateNewChoice(h)}, - {path: "/survey/block_new_choices_creation", cb: (h) => SurveyController.BlockNewChoicesCreation(h)}, + {path: "/surveys/block_new_choices_creation", cb: (h) => SurveyController.BlockNewChoicesCreation(h)}, // Notifications controller