mirror of
				https://gitlab.com/comunic/comunicapiv2
				synced 2025-11-03 19:14:03 +00:00 
			
		
		
		
	Can get information about a single comment
This commit is contained in:
		@@ -56,9 +56,10 @@ export class CommentsController {
 | 
				
			|||||||
	 * @param h Request handler
 | 
						 * @param h Request handler
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	public static async GetSingle(h: RequestHandler) {
 | 
						public static async GetSingle(h: RequestHandler) {
 | 
				
			||||||
		const commentID = h.postCommentIDWithAccess("commentID");
 | 
							const commentID = await h.postCommentIDWithAccess("commentID");
 | 
				
			||||||
 | 
							const comment = await CommentsHelper.GetSingle(commentID);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		console.log("Comment ID: " + commentID);
 | 
							h.send(await this.CommentToAPI(h, comment))
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user