From 0225f0553b64c78c2522c6d6ddb21f5134aeb52d Mon Sep 17 00:00:00 2001 From: Jonny Ngo Luong <jonnynl@stud.ntnu.no> Date: Wed, 17 Mar 2021 08:36:18 +0000 Subject: [PATCH] refactor: Update a wrong comment in post.service.ts --- client/src/app/posts/post.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/posts/post.service.ts b/client/src/app/posts/post.service.ts index d20b394..63ea702 100644 --- a/client/src/app/posts/post.service.ts +++ b/client/src/app/posts/post.service.ts @@ -234,7 +234,7 @@ export class PostService { } /** - * Get all posts in database by specified category. + * Get all posts in database by specified user. */ getPostsByUserId(userId: number): Promise<Array<Post>> { return new Promise<Array<Post>>( -- GitLab