diff --git a/backend/src/schema/resolvers/helpers/filterInvisiblePosts.js b/backend/src/schema/resolvers/helpers/filterInvisiblePosts.js index 108f9c007..73dfaad91 100644 --- a/backend/src/schema/resolvers/helpers/filterInvisiblePosts.js +++ b/backend/src/schema/resolvers/helpers/filterInvisiblePosts.js @@ -13,7 +13,7 @@ const getInvisiblePosts = async (context) => { cypher = ` MATCH (post:Post)-[:IN]->(group:Group) WHERE NOT group.groupType = 'public' - RETURN collect(post.id) AS invisiblePostIds` + RETURN collect(post.id) AS invisiblePostIds` } const invisiblePostIdsResponse = await transaction.run(cypher, { userId: user ? user.id : null,