1
0
mirror of https://github.com/vercel/commerce.git synced 2025-05-06 01:37:51 +00:00
2021-06-02 11:46:38 -03:00

15 lines
302 B
TypeScript

export const loginMutation = /* GraphQL */ `
mutation login($username: String!, $password: String!) {
login(username: $username, password: $password) {
__typename
... on CurrentUser {
id
}
... on ErrorResult {
errorCode
message
}
}
}
`