diff --git a/src/app/post/services/post.service.ts b/src/app/post/services/post.service.ts index 4476dbc76f19a4255c44ab1f5bcb74ad0ae33ce0..d70e18881db9ddd10f11df0a19db6dc2f47bee44 100644 --- a/src/app/post/services/post.service.ts +++ b/src/app/post/services/post.service.ts @@ -24,16 +24,6 @@ export class PostService { ); } - // public getPosts(tags?: string[]): Observable<PostWithMeta> { - // if (!tags) { - // return this.http.get<PostWithMeta>(`${this.baseUrl}?include=tags,authors&filter=tag:-[appels,a-la-une]`).pipe( - // map((item: PostWithMeta) => { - // item.posts.forEach((post) => { - // post = this.addAuthorToPost(post); - // }); - // return new PostWithMeta(item); - // }) - // ); public getPosts(page: number, tags?: string[]): Observable<PostWithMeta> { if (!tags) { return this.http