16 lines
246 B
GraphQL
16 lines
246 B
GraphQL
#import "./userFragment.gql"
|
|
|
|
mutation userLogin ($email: String!, $password: String!) {
|
|
userLogin (email: $email, password: $password) {
|
|
user {
|
|
...user
|
|
email
|
|
}
|
|
token {
|
|
id
|
|
userId
|
|
expiration
|
|
}
|
|
}
|
|
}
|