mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-29 16:56:28 +00:00
Ready to implement new route
This commit is contained in:
parent
926892a29b
commit
703177a587
@ -269,3 +269,8 @@ pub fn delete_member(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
|
||||
r.success("Membership of the user has been successfully deleted!")
|
||||
}
|
||||
|
||||
/// Update a user's membership
|
||||
pub fn update_membership(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
r.success("ready to implement")
|
||||
}
|
@ -160,6 +160,8 @@ pub fn get_routes() -> Vec<Route> {
|
||||
|
||||
Route::post("/groups/delete_member", Box::new(groups_controller::delete_member)),
|
||||
|
||||
Route::post("/groups/update_membership_level", Box::new(groups_controller::update_membership)),
|
||||
|
||||
|
||||
// Virtual directory controller
|
||||
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
||||
|
Loading…
Reference in New Issue
Block a user