Add some names to the GQL queries

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-05-17 18:19:24 +02:00
parent bab751591f
commit 732785919a
5 changed files with 18 additions and 12 deletions

View File

@@ -373,7 +373,7 @@ export const LOGGED_USER_MEMBERSHIPS = gql`
`;
export const IDENTITIES = gql`
query {
query Identities {
identities {
id
avatar {
@@ -453,7 +453,10 @@ export const PERSON_MEMBERSHIP_GROUP = gql`
`;
export const GROUP_MEMBERSHIP_SUBSCRIPTION_CHANGED = gql`
subscription ($actorId: ID!, $group: String!) {
subscription GroupMembershipSubscriptionChanged(
$actorId: ID!
$group: String!
) {
groupMembershipChanged(personId: $actorId, group: $group) {
id
memberships {