Advertisement
dapram_

multipleMutation

Jun 1st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const userRegister = gql`
  2.     mutation userRegister($phone_or_email: String!, $must_unique: Boolean){
  3.       userRegister(input: {phone_or_email: $phone_or_email, must_unique: $must_unique}){
  4.         token
  5.         resend_time
  6.         phone_or_email
  7.       }
  8.     }`
  9.  
  10.  
  11.   const verificationRegister = gql`
  12.     mutation verificationRegister($code: String!, $token: String!){
  13.       verificationRegister(input: {code: $code, token: $token}){
  14.         token
  15.         resend_time
  16.         phone_or_email
  17.       }
  18.     }`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement