ohmyform-ui/graphql/mutation/login.mutation.ts
Michael Schramm 8d81390c83 apply eslint
2020-06-09 11:54:50 +02:00

11 lines
262 B
TypeScript

import { gql } from 'apollo-boost'
export const LOGIN_MUTATION = gql`
mutation login($username: String!, $password: String!) {
tokens: authLogin(username: $username, password: $password) {
access: accessToken
refresh: refreshToken
}
}
`