diff --git a/src/controllers/PostsController.ts b/src/controllers/PostsController.ts index f9ee4c4..3c0b4e4 100644 --- a/src/controllers/PostsController.ts +++ b/src/controllers/PostsController.ts @@ -336,7 +336,8 @@ export class PostsController { await PostsHelper.SetContent(postID, content); - // TODO : delete notifications targetting current user about the post + // Delete notifications targetting current user about the post + await NotificationsHelper.DeleteAllPostsNotificationsTargetingUser(h.getUserId(), postID); h.success(); }