mirror of
https://github.com/evgen-app/evgen-app-front-template.git
synced 2024-11-21 23:16:32 +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
|
|
}
|
|
} |