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);