mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-12-27 22:18:51 +00:00
Ready to implement new route
This commit is contained in:
parent
7cc4b94b55
commit
ef532f5900
@ -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")
|
||||
}
|
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user