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!"); }