Fix joinGroup and leaveGroup by changing api

pull/5/head
Trivernis 5 years ago
parent ac2672e589
commit 16e9d9def5

@ -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

Loading…
Cancel
Save