mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-13 08:24:48 +00:00
Fix #1315
This commit is contained in:
parent
af5772db49
commit
5c72799095
@ -51,7 +51,7 @@ const updateHashtagsOfPost = async (postId, hashtags, context) => {
|
||||
const cypherCreateNewTagsAndRelations = `
|
||||
MATCH (p: Post { id: $postId})
|
||||
UNWIND $hashtags AS tagName
|
||||
MERGE (t: Tag { id: tagName, name: tagName, disabled: false, deleted: false })
|
||||
MERGE (t: Tag { id: tagName, disabled: false, deleted: false })
|
||||
MERGE (p)-[:TAGGED]->(t)
|
||||
RETURN p, t
|
||||
`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user