add direction of Post in Group

This commit is contained in:
Moriz Wahl 2022-09-20 20:30:00 +02:00
parent 0c32fd8023
commit 5e30bfe2ed

View File

@ -117,7 +117,7 @@ export default {
: ''
const groupCypher = groupId
? `WITH post MATCH (group:Group { id: $groupId })
MERGE (post)-[:IN]-(group)`
MERGE (post)-[:IN]->(group)`
: ''
const createPostTransactionResponse = await transaction.run(
`