diff --git a/src/controllers/groups_controller.rs b/src/controllers/groups_controller.rs index 0a2656c..7c3e2eb 100644 --- a/src/controllers/groups_controller.rs +++ b/src/controllers/groups_controller.rs @@ -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") } \ No newline at end of file diff --git a/src/controllers/routes.rs b/src/controllers/routes.rs index 10bfce1..2764a2d 100644 --- a/src/controllers/routes.rs +++ b/src/controllers/routes.rs @@ -148,6 +148,8 @@ pub fn get_routes() -> Vec { 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)),