Created
March 15, 2018 10:04
-
-
Save benbonnet/a1f0655a1945df109822b83705ee73b9 to your computer and use it in GitHub Desktop.
signin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const signin = ` | |
input SigninInput { | |
email: String! | |
token: String! | |
refreshtoken: String! | |
firstname: String! | |
lastname: String! | |
} | |
mutation Authenticate($signin: SigninInput!) { | |
authenticate(input: $signin) { | |
jwtToken | |
} | |
} | |
`; | |
export default signin; | |
/* | |
{ errors: | |
[ { message: 'The SigninInput definition is not executable.', | |
locations: [Array] }, | |
{ message: 'Unknown type "SigninInput". Did you mean "ItemInput"?', | |
locations: [Array] } ] } | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment