webapp/src/graphql/mutation/auth-register.ts

10 lines
229 B
TypeScript
Raw Normal View History

2022-09-09 11:53:35 +00:00
import { gql } from '@urql/core'
export default gql`
2022-10-25 16:25:42 +00:00
mutation RegisterMutation($email: String!, $password: String!, $name: String!) {
registerUser(email: $email, password: $password, name: $name) {
2022-09-09 11:53:35 +00:00
error
}
}
`