debianize-mobilizon/js/src/graphql/auth.ts
2018-12-28 16:28:08 +01:00

13 lines
206 B
TypeScript

import gql from 'graphql-tag';
export const LOGIN = gql`
mutation Login($email: String!, $password: String!) {
login(email: $email, password: $password) {
token,
user {
id,
}
},
}
`;