From 0d787f93003392d4ecea616debced6a4d6a8a523 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 14:34:20 +0100 Subject: [PATCH] Remove a TODO --- src/controllers/PostsController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }