mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-31 07:34:45 +00:00 
			
		
		
		
	Ready to implement new method
This commit is contained in:
		| @@ -82,4 +82,9 @@ pub fn get_settings(r: &mut HttpRequestHandler) -> RequestResult { | ||||
|     // For now, this method is the same as the get advanced info method, | ||||
|     // but this might change in the future... | ||||
|     r.set_response(AdvancedGroupApi::new(&group, r.user_id_opt())?) | ||||
| } | ||||
|  | ||||
| /// Set new settings to the group | ||||
| pub fn set_settings(r: &mut HttpRequestHandler) -> RequestResult { | ||||
|     r.success("implement me") | ||||
| } | ||||
| @@ -140,6 +140,8 @@ pub fn get_routes() -> Vec<Route> { | ||||
|  | ||||
|         Route::post("/groups/get_settings", Box::new(groups_controller::get_settings)), | ||||
|  | ||||
|         Route::post("/groups/set_settings", Box::new(groups_controller::set_settings)), | ||||
|  | ||||
|  | ||||
|         // Virtual directory controller | ||||
|         Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user