13 lines
206 B
TypeScript
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,
|
|
}
|
|
},
|
|
}
|
|
`;
|