45 lines
714 B
JavaScript
45 lines
714 B
JavaScript
/* eslint-disable no-unused-vars */
|
|
import gql from 'graphql-tag'
|
|
|
|
const UPDATE_TEAM_PROFILE = gql`
|
|
mutation UpdateTeamProfileMutation(
|
|
$slug: String!
|
|
$owner: String!
|
|
$description: String
|
|
$motto: String
|
|
) {
|
|
updateTeamProfile(
|
|
slug: $slug
|
|
owner: $owner
|
|
description: $description
|
|
motto: $motto
|
|
) {
|
|
id
|
|
name
|
|
slug
|
|
owner
|
|
status {
|
|
status
|
|
reason
|
|
createdAt
|
|
}
|
|
createdAt
|
|
profile {
|
|
avatar
|
|
description
|
|
motto
|
|
updatedAt
|
|
}
|
|
members {
|
|
role
|
|
member {
|
|
alias
|
|
authId
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
|
|
export default UPDATE_TEAM_PROFILE
|