mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +00:00
Update TODOs
This commit is contained in:
parent
dfd36ac4e5
commit
e67fe26652
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user