mirror of
https://github.com/evgen-app/evgen-app-front-template.git
synced 2024-11-10 18:06:33 +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
|
|
}
|
|
} |