mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-02-12 06:54:57 -05:00
11 lines
269 B
TypeScript
11 lines
269 B
TypeScript
import gql from 'fake-tag';
|
|
|
|
export const UpdateUsernameMutation = gql`
|
|
mutation UpdatePlayerUsername($playerId: uuid!, $username: String!) {
|
|
update_player_by_pk(pk_columns: { id: $playerId }, _set: { username: $username }) {
|
|
id
|
|
username
|
|
}
|
|
}
|
|
`;
|