mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-02-15 01:02:48 +00:00
17 lines
268 B
TypeScript
17 lines
268 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
export const LeaveGroup = gql`
|
|
mutation ($groupId: ID!, $userId: ID!) {
|
|
LeaveGroup(groupId: $groupId, userId: $userId) {
|
|
user {
|
|
id
|
|
name
|
|
slug
|
|
}
|
|
membership {
|
|
role
|
|
}
|
|
}
|
|
}
|
|
`
|