From e67fe2665223d6afd79dddad5a35e3d1e7d782b8 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 20 Mar 2020 18:52:45 +0100 Subject: [PATCH] Update TODOs --- src/controllers/PostsController.ts | 2 ++ src/helpers/GroupsHelper.ts | 2 +- src/helpers/PostsHelper.ts | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controllers/PostsController.ts b/src/controllers/PostsController.ts index 961c525..0e481c4 100644 --- a/src/controllers/PostsController.ts +++ b/src/controllers/PostsController.ts @@ -344,6 +344,8 @@ export class PostsController { await PostsHelper.Delete(postID); + // TODO : delete all the notifications related with the post + h.success(); } diff --git a/src/helpers/GroupsHelper.ts b/src/helpers/GroupsHelper.ts index 0658aaa..9a0f7e0 100644 --- a/src/helpers/GroupsHelper.ts +++ b/src/helpers/GroupsHelper.ts @@ -476,7 +476,7 @@ export class GroupsHelper { * @param groupID Target group ID */ public static async GetLastActivity(groupID: number) : Promise { - // TODO : implement + // TODO URGENT : implement return groupID; } diff --git a/src/helpers/PostsHelper.ts b/src/helpers/PostsHelper.ts index c620607..ac93c15 100644 --- a/src/helpers/PostsHelper.ts +++ b/src/helpers/PostsHelper.ts @@ -395,7 +395,6 @@ export class PostsHelper { // Group page else if(post.kindPage == PostPageKind.PAGE_KIND_GROUP) { - // TODO : check this code const accessLevel = await GroupsHelper.GetMembershipLevel(post.groupID, userID);