From 1b2509229c7f6aa0c37338584d592f44c17f7c3d Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 25 Jul 2022 19:22:17 +0200 Subject: [PATCH] remove bad line in cypher --- backend/src/schema/resolvers/posts.js | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/schema/resolvers/posts.js b/backend/src/schema/resolvers/posts.js index f4faaeb17..b09bb3edd 100644 --- a/backend/src/schema/resolvers/posts.js +++ b/backend/src/schema/resolvers/posts.js @@ -100,7 +100,6 @@ export default { SET post.clickedCount = 0 SET post.viewedTeaserCount = 0 WITH post - UNWIND $categoryIds AS categoryId MATCH (author:User {id: $userId}) MERGE (post)<-[:WROTE]-(author) ${categoriesCypher}