From 7132a2ab458afe19b073fa44e7c576af297f0d31 Mon Sep 17 00:00:00 2001 From: Clayton Wilson Date: Fri, 6 Dec 2019 14:10:17 -0500 Subject: [PATCH] Fix error in getOtherUsersPosts --- functions/handlers/post.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/handlers/post.js b/functions/handlers/post.js index e23fb63..1ef941d 100644 --- a/functions/handlers/post.js +++ b/functions/handlers/post.js @@ -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()