From 55b13fc0f63877c7e5acbc0ce1d9aa4658d9f655 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 17 Mar 2022 17:35:03 +0100 Subject: [PATCH] Give reports route a better name --- src/routes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.rs b/src/routes.rs index 9adb640..d7b834a 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -441,7 +441,7 @@ pub async fn find_route(req_uri: &str, call: Option<&mut HttpRequestHandler>) -> route!(req_uri, call, POST_LOGIN, "/webApp/getMemberships", web_app_controller::get_memberships); // Report controller - route!(req_uri, call, LTD_POST_LOGIN, "/report/create", report_controller::report, LimitPolicy::ANY(10)); + route!(req_uri, call, LTD_POST_LOGIN, "/reports/create", report_controller::report, LimitPolicy::ANY(10)); // Forez controller route!(req_uri, call, POST_LOGIN, "/forez/get_groups", forez_controller::get_list_groups);