1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 07:19:22 +00:00

Give reports route a better name

This commit is contained in:
Pierre HUBERT 2022-03-17 17:35:03 +01:00
parent 5e6399d94e
commit 55b13fc0f6

View File

@ -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); route!(req_uri, call, POST_LOGIN, "/webApp/getMemberships", web_app_controller::get_memberships);
// Report controller // 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 // Forez controller
route!(req_uri, call, POST_LOGIN, "/forez/get_groups", forez_controller::get_list_groups); route!(req_uri, call, POST_LOGIN, "/forez/get_groups", forez_controller::get_list_groups);