debianize-mobilizon/js/src/graphql/auth.ts

13 lines
206 B
TypeScript
Raw Normal View History

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