mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 10:18:48 +00:00
Fix error in getOtherUsersPosts
This commit is contained in:
parent
5474543af4
commit
7132a2ab45
@ -178,10 +178,10 @@ exports.getOtherUsersPosts = (req, res) => {
|
|||||||
.collection("posts")
|
.collection("posts")
|
||||||
.where("userHandle", "==", req.body.handle);
|
.where("userHandle", "==", req.body.handle);
|
||||||
|
|
||||||
post_query += admin
|
// post_query += admin
|
||||||
.firestore()
|
// .firestore()
|
||||||
.collection("posts")
|
// .collection("posts")
|
||||||
.where("microBlogTitle", "==", "Alert").where("userHandle", "==", "Admin");
|
// .where("microBlogTitle", "==", "Alert").where("userHandle", "==", "Admin");
|
||||||
|
|
||||||
post_query
|
post_query
|
||||||
.get()
|
.get()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user