mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
* separate all queries into one file each * fix merge error * fix lint --------- Co-authored-by: mahula <lenzmath@posteo.de> Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const removeUserFromGroupMutation = () => {
|
|
return gql`
|
|
mutation ($groupId: ID!, $userId: ID!) {
|
|
RemoveUserFromGroup(groupId: $groupId, userId: $userId) {
|
|
id
|
|
name
|
|
slug
|
|
myRoleInGroup
|
|
}
|
|
}
|
|
`
|
|
}
|