Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const userLogin = mutationField('userLogin', {
- type: UserLoginPayload,
- args: {
- username: stringArg({ required: true }),
- password: stringArg({ required: true }),
- },
- })
- export const userRegister = mutationField('userRegister', {
- type: UserLoginPayload,
- args: {
- username: stringArg({ required: true }),
- password: stringArg({ required: true }),
- },
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement