Skip to content
Snippets Groups Projects
Commit 5b6c51e7 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: remove commented code

parent c250f065
No related branches found
No related tags found
3 merge requests!103Recette,!102Dev,!89Feat/post details
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment