From 9d1f987ac1a38a6bf7a0743390dd22bdff77be33 Mon Sep 17 00:00:00 2001 From: Aditya Sankaran Date: Fri, 25 Oct 2019 13:15:17 -0400 Subject: [PATCH] added userID property for posts --- functions/handlers/post.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/handlers/post.js b/functions/handlers/post.js index e3d0c01..c14c61c 100644 --- a/functions/handlers/post.js +++ b/functions/handlers/post.js @@ -6,6 +6,7 @@ exports.putPost = (req, res) => { body: req.body.body, userHandle: req.body.userHandle, userImage: req.body.userImage, + userID: req.userData.userID, microBlogTitle: req.body.microBlogTitle, createdAt: new Date().toISOString(), likeCount: 0,