From d4435514055f2cbff99d9babf44a6d1ca4af27ea Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 15:08:50 +0100 Subject: [PATCH] Remove a notification --- 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 2393a49..6b0f632 100644 --- a/src/controllers/GroupsController.ts +++ b/src/controllers/GroupsController.ts @@ -547,7 +547,8 @@ export class GroupsController { // Delete mebmership await GroupsHelper.DeleteMember(groupID, h.getUserId()); - // TODO : delete group membership notifications + // Delete group membership notifications + await NotificationsHelper.DeleteNotificationsGroupsMembership(h.getUserId(), groupID); h.success("Your membership has been successfully deleted!"); }