From 6b682406aa7a7e0c98525e5029959f6c7d765db4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 14:51:27 +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 d9aac65..6844d3e 100644 --- a/src/controllers/GroupsController.ts +++ b/src/controllers/GroupsController.ts @@ -428,7 +428,8 @@ export class GroupsController { // Delete the membership await GroupsHelper.DeleteMember(groupID, userID); - // TODO : delete any group membership notifications + // Delete any group membership notifications + await NotificationsHelper.DeleteNotificationsGroupsMembership(userID, groupID); h.success("Membership of the user has been successfully deleted!"); }