diff --git a/routes/post.js b/routes/post.js index c6ab917..4d1b123 100644 --- a/routes/post.js +++ b/routes/post.js @@ -26,7 +26,7 @@ DB.getDB.then((DB) => { content += "@p:" + p._id + "\n"; }); let popularProfilesPost = new Post({profileid: 1, content, nonOrganicType: "PopularUsers"}); - const popularGroups = await DB.getPopularGroups(15); + const popularGroups = await DB.getPopularGroups(5); content = "Popular users to follow:\n"; popularGroups.forEach((p)=>{ content += "@p:" + p._id + "\n";