Files
TheGame/packages/web/graphql/mutations/updateUsername.ts
dan13ram d7068373b2 styling for player tiles (#173)
* update username flow

* skills/memberships not shown if non-existent

* better errors

* styling for player tiles

* cover image for player tile
2020-11-06 17:58:00 +01:00

13 lines
255 B
TypeScript

import gql from 'fake-tag';
export const UpdateUsernameMutation = gql`
mutation UpdatePlayerUsername($username: String!) {
update_Player(_set: { username: $username }, where: {}) {
returning {
id
username
}
}
}
`;