Remove comment

This commit is contained in:
Wolfgang Huß 2019-08-16 18:15:40 +02:00
parent 0b9a58e317
commit 1ff7750918

View File

@ -27,9 +27,6 @@ const notifyMentions = async (label, id, idsOfMentionedUsers, context) => {
MERGE (comment)-[:NOTIFIED]->(notification)-[:NOTIFIED]->(user)
`
}
// "author" of comment, blocked Peter: Jenny
// "user" mentioned on post by Jenny: Peter
// owner of post: Bob
await session.run(cypher, {
idsOfMentionedUsers,
label,
@ -96,4 +93,4 @@ export default {
CreateComment: handleContentDataOfComment,
UpdateComment: handleContentDataOfComment,
},
}
}