From 34a819adf1b4efea16fe13825b135a8c891ffad5 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 14:45:35 +0100 Subject: [PATCH] Remove a TODO --- src/controllers/GroupsController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/GroupsController.ts b/src/controllers/GroupsController.ts index ad8e0a4..d9aac65 100644 --- a/src/controllers/GroupsController.ts +++ b/src/controllers/GroupsController.ts @@ -392,7 +392,8 @@ export class GroupsController { // Delete membership of the user await GroupsHelper.DeleteMember(groupID, h.getUserId()); - // TODO : delete any potential notificaton + // Delete any potential notificaton + await NotificationsHelper.DeleteNotificationsGroupsMembership(h.getUserId(), groupID); h.success("The request has been successfully cancelled!"); }