mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Remove comment
This commit is contained in:
parent
0b9a58e317
commit
1ff7750918
@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user