diff --git a/client/src/app/posts/post.service.ts b/client/src/app/posts/post.service.ts index d20b3942f3205dd79cde8f439cd04d149065d79d..63ea70293f18426b7d0e13beb466bd2ec29b4b4f 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>>(