Fix following groups

This commit is contained in:
aeroreyna
2023-01-22 22:42:18 -05:00
parent dadf070ac5
commit 47973879ab
2 changed files with 11 additions and 6 deletions

View File

@@ -96,7 +96,8 @@ DB.getDB.then((DB)=>{
});
router.get("/groups/following", async (req, res) => {
let groups = await DB.getFollowingGroups();
const profileId = getProfileId(req);
let groups = await DB.getFollowingGroups(profileId);
return res.json({
status: "ok",
groups