mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 02:08:47 +00:00
added userID property for posts
This commit is contained in:
parent
65ac1c7384
commit
9d1f987ac1
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user