From 5e30bfe2ed5bf8200bb347f14aae104735dcede1 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Tue, 20 Sep 2022 20:30:00 +0200 Subject: [PATCH] add direction of Post in Group --- backend/src/schema/resolvers/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/schema/resolvers/posts.js b/backend/src/schema/resolvers/posts.js index 733ad5710..74eca02bd 100644 --- a/backend/src/schema/resolvers/posts.js +++ b/backend/src/schema/resolvers/posts.js @@ -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( `