From 4a12cdf9e24c282f5bddbad41dfc030111d1fa68 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 3 Oct 2022 22:43:46 +0200 Subject: [PATCH] remove unused memberIds statement --- backend/src/schema/types/type/Group.gql | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/src/schema/types/type/Group.gql b/backend/src/schema/types/type/Group.gql index 15b980345..c4890fdce 100644 --- a/backend/src/schema/types/type/Group.gql +++ b/backend/src/schema/types/type/Group.gql @@ -41,13 +41,6 @@ type Group { myRole: GroupMemberRole # if 'null' then the current user is no member posts: [Post] @relation(name: "IN", direction: "IN") - memberIds: [String] @cypher( - statement: """ - MATCH (this)<-[membership:MEMBER_OF]-(member:User) - WHERE membership.role IN ['usual', 'admin', 'owner'] - RETURN collect(member.id) - """ - ) } @@ -61,7 +54,6 @@ input _GroupFilter { groupType_in: [GroupType!] actionRadius_in: [GroupActionRadius!] myRole_in: [GroupMemberRole!] - memberIds_includes: String id: ID id_not: ID id_in: [ID!]