Fix bug on organic endpoint

This commit is contained in:
Adolfo Reyna
2025-02-20 21:49:25 -05:00
parent 4cab4decb6
commit a49932ae79

View File

@@ -82,7 +82,7 @@ DB.getDB.then((DB) => {
let organicPosts = await DB.getFeed(profileid); let organicPosts = await DB.getFeed(profileid);
//Add non-organic posts //Add non-organic posts
const nonOrganicPosts = await generateNonOrganicPosts(req, profileid); const nonOrganicPosts = await generateNonOrganicPosts(req, profileid);
const posts = mergePosts(promotionalPosts, nonOrganicPosts); const posts = mergePosts(organicPosts, nonOrganicPosts);
return res.json(posts); return res.json(posts);
}); });