From 7e53ced64d5381fca801ef8b692cbb9b4740003f Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 26 Jun 2020 10:41:14 +0200 Subject: [PATCH] Fix issue --- src/controllers/groups_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/groups_controller.rs b/src/controllers/groups_controller.rs index 554eeec..9cce24e 100644 --- a/src/controllers/groups_controller.rs +++ b/src/controllers/groups_controller.rs @@ -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)?;