Fix popular courses match stage

This commit is contained in:
aeroreyna
2022-02-16 22:40:21 -08:00
parent e0c6470bce
commit 58fda40c20
2 changed files with 2 additions and 2 deletions

View File

@@ -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(5);
const popularGroups = await DB.getPopularGroups(15);
content = "Popular users to follow:\n";
popularGroups.forEach((p)=>{
content += "@p:" + p._id + "\n";