changed variable name to postId

This commit is contained in:
shobhitm23
2019-10-31 15:29:54 -04:00
parent a4b7f7a107
commit 51fc965a90
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ exports.getAllPosts = (req, res) => {
userImage: doc.data().userImage,
microBlogTitle: doc.data().microBlogTitle,
microBlogTopics: doc.data().microBlogTopics,
id: doc.id,
postId: doc.id,
});
});
return res.status(200).json(posts);