mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-26 07:19:22 +00:00
Fix issue
This commit is contained in:
parent
539765d01c
commit
7e53ced64d
@ -129,7 +129,7 @@ pub fn upload_logo(r: &mut HttpRequestHandler) -> RequestResult {
|
|||||||
|
|
||||||
/// Delete a group's logo
|
/// Delete a group's logo
|
||||||
pub fn delete_logo(r: &mut HttpRequestHandler) -> RequestResult {
|
pub fn delete_logo(r: &mut HttpRequestHandler) -> RequestResult {
|
||||||
let group_id = r.post_group_id_with_access("groupID", GroupAccessLevel::ADMIN_ACCESS)?;
|
let group_id = r.post_group_id_with_access("id", GroupAccessLevel::ADMIN_ACCESS)?;
|
||||||
|
|
||||||
groups_helper::delete_logo(&group_id)?;
|
groups_helper::delete_logo(&group_id)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user