mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 15:29:21 +00:00
Ready to implement new route
This commit is contained in:
parent
7cc4b94b55
commit
ef532f5900
@ -146,3 +146,8 @@ pub fn delete_logo(r: &mut HttpRequestHandler) -> RequestResult {
|
|||||||
|
|
||||||
r.set_response(ResChangeGroupLogo::new(DEFAULT_GROUP_LOGO))
|
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/delete_logo", Box::new(groups_controller::delete_logo)),
|
||||||
|
|
||||||
|
Route::post("/groups/get_members", Box::new(groups_controller::get_members)),
|
||||||
|
|
||||||
|
|
||||||
// Virtual directory controller
|
// Virtual directory controller
|
||||||
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
||||||
|
Loading…
Reference in New Issue
Block a user