1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 07:19:22 +00:00

Fix issue

This commit is contained in:
Pierre HUBERT 2020-06-26 10:41:14 +02:00
parent 539765d01c
commit 7e53ced64d

View File

@ -129,7 +129,7 @@ pub fn upload_logo(r: &mut HttpRequestHandler) -> RequestResult {
/// Delete a group's logo
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)?;