mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-01-30 14:03:00 +00:00
Ready to implement new route
This commit is contained in:
parent
3a09223164
commit
8d6dc6365c
@ -117,4 +117,9 @@ pub fn check_virtual_dir(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
}
|
||||
|
||||
r.success("Requested virtual directory seems to be available!")
|
||||
}
|
||||
|
||||
/// Change a group's logo
|
||||
pub fn upload_logo(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
r.success("implement me")
|
||||
}
|
@ -144,6 +144,8 @@ pub fn get_routes() -> Vec<Route> {
|
||||
|
||||
Route::post("/groups/checkVirtualDirectory", Box::new(groups_controller::check_virtual_dir)),
|
||||
|
||||
Route::post("/groups/upload_logo", Box::new(groups_controller::upload_logo)),
|
||||
|
||||
|
||||
// Virtual directory controller
|
||||
Route::post("/user/findbyfolder", Box::new(virtual_directory_controller::find_user)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user