Fix error in getOtherUsersPosts

This commit is contained in:
Clayton Wilson 2019-12-06 14:10:17 -05:00
parent 5474543af4
commit 7132a2ab45

View File

@ -178,10 +178,10 @@ exports.getOtherUsersPosts = (req, res) => {
.collection("posts")
.where("userHandle", "==", req.body.handle);
post_query += admin
.firestore()
.collection("posts")
.where("microBlogTitle", "==", "Alert").where("userHandle", "==", "Admin");
// post_query += admin
// .firestore()
// .collection("posts")
// .where("microBlogTitle", "==", "Alert").where("userHandle", "==", "Admin");
post_query
.get()