From 16e9d9def55f23f8f21f789d33e5dc8b54060f6b Mon Sep 17 00:00:00 2001 From: Trivernis Date: Wed, 22 Jan 2020 14:29:40 +0100 Subject: [PATCH] Fix joinGroup and leaveGroup by changing api --- src/graphql/schema.graphql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphql/schema.graphql b/src/graphql/schema.graphql index 99103c3..c7bc105 100644 --- a/src/graphql/schema.graphql +++ b/src/graphql/schema.graphql @@ -98,10 +98,10 @@ type Mutation { deleteGroup(groupId: ID!): Boolean! "Joins a group with the given id" - joinGroup(id: ID!): Group + joinGroup(groupId: ID!): Group "leaves the group with the given id" - leaveGroup(id: ID!): Group + leaveGroup(groupId: ID!): Group "adds an admin to the group" addGroupAdmin(groupId: ID!, userId: ID!): Group