evgen-app-front-template/regSchema.graphql

11 lines
270 B
GraphQL
Raw Permalink Normal View History

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
}
}