Skip to content

Commit

Permalink
Merge pull request #128 from toomio-official/fix/feed
Browse files Browse the repository at this point in the history
Fixed feed
  • Loading branch information
pasandevin authored Aug 13, 2024
2 parents f522a82 + 2331ab0 commit e01ab43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feed/feed.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class FeedService {

let posts = await this.smPostsService.getPostsByIds(postIds);

posts = await this.smPostsService.getAllPosts();
for (let post of posts) {
const user = await this.userService.findUserByEmail(post.userEmail);
const journey = await this.journeysService.findJourneyById(
Expand All @@ -47,7 +48,6 @@ export class FeedService {
}
}

posts = await this.smPostsService.getAllPosts();
return posts;
}
}

0 comments on commit e01ab43

Please sign in to comment.