mirror of
https://github.com/evgen-app/evgen-app-front-template.git
synced 2024-11-23 07:46:41 +03:00
11 lines
270 B
GraphQL
11 lines
270 B
GraphQL
mutation auth($username:String!, $password:String!){
|
|
tokenAuth(username:$username, password:$password){
|
|
token
|
|
}
|
|
}
|
|
|
|
mutation register($username:String!, $password:String!){
|
|
registerUser(input:{username:$username, password:$password}){
|
|
ok
|
|
}
|
|
} |