mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-03 19:14:03 +00:00 
			
		
		
		
	Update TODOs
This commit is contained in:
		@@ -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);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user