notification on commets

This commit is contained in:
Adolfo Reyna
2021-09-14 11:57:42 -07:00
parent f2ebec71aa
commit 52617bbcec
2 changed files with 37 additions and 6 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ DB.getDB.then((DB)=>{
lastUpdated: new Date(),
reactions: {}
}
console.log("comment", postid, comment);
Notifications.youGotANewPostComment(postid, profileid, content)
r = await DB.newComment(postid, comment);
return res.json({
status: "ok",