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

Ready to implement new route

This commit is contained in:
Pierre HUBERT 2020-06-26 11:00:12 +02:00
parent 7cc4b94b55
commit ef532f5900
2 changed files with 7 additions and 0 deletions

View File

@ -145,4 +145,9 @@ pub fn delete_logo(r: &mut HttpRequestHandler) -> RequestResult {
groups_helper::delete_logo(&group_id)?;
r.set_response(ResChangeGroupLogo::new(DEFAULT_GROUP_LOGO))
}
/// Get the list of members of a group
pub fn get_members(r: &mut HttpRequestHandler) -> RequestResult {
r.success("implement me")
}

View File

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