feed with followers only
This commit is contained in:
@@ -11,7 +11,8 @@ DB.getDB.then((DB)=>{
|
||||
}
|
||||
|
||||
router.get("/", async (req, res) => {
|
||||
let posts = await DB.getPosts();
|
||||
const profileid = getProfileId(req);
|
||||
let posts = await DB.getFeed(profileid);
|
||||
return res.json(posts)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user