1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Ready to implement new method

This commit is contained in:
Pierre HUBERT 2020-06-25 17:55:46 +02:00
parent fb99586afc
commit bd3818360b
2 changed files with 7 additions and 0 deletions

View File

@ -83,3 +83,8 @@ pub fn get_settings(r: &mut HttpRequestHandler) -> RequestResult {
// but this might change in the future...
r.set_response(AdvancedGroupApi::new(&group, r.user_id_opt())?)
}
/// Set new settings to the group
pub fn set_settings(r: &mut HttpRequestHandler) -> RequestResult {
r.success("implement me")
}

View File

@ -140,6 +140,8 @@ pub fn get_routes() -> Vec<Route> {
Route::post("/groups/get_settings", Box::new(groups_controller::get_settings)),
Route::post("/groups/set_settings", Box::new(groups_controller::set_settings)),
// Virtual directory controller
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),