1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 13:29:22 +00:00

Update TODOs

This commit is contained in:
Pierre HUBERT 2020-03-20 18:52:45 +01:00
parent dfd36ac4e5
commit e67fe26652
3 changed files with 3 additions and 2 deletions

View File

@ -344,6 +344,8 @@ export class PostsController {
await PostsHelper.Delete(postID); await PostsHelper.Delete(postID);
// TODO : delete all the notifications related with the post
h.success(); h.success();
} }

View File

@ -476,7 +476,7 @@ export class GroupsHelper {
* @param groupID Target group ID * @param groupID Target group ID
*/ */
public static async GetLastActivity(groupID: number) : Promise<number> { public static async GetLastActivity(groupID: number) : Promise<number> {
// TODO : implement // TODO URGENT : implement
return groupID; return groupID;
} }

View File

@ -395,7 +395,6 @@ export class PostsHelper {
// Group page // Group page
else if(post.kindPage == PostPageKind.PAGE_KIND_GROUP) { else if(post.kindPage == PostPageKind.PAGE_KIND_GROUP) {
// TODO : check this code
const accessLevel = await GroupsHelper.GetMembershipLevel(post.groupID, userID); const accessLevel = await GroupsHelper.GetMembershipLevel(post.groupID, userID);