Fix following groups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user