Last active
March 8, 2017 20:07
-
-
Save heymartinadams/4428596558ea8c35ae1f6b48b099564a to your computer and use it in GitHub Desktop.
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
import gql from 'graphql-tag' | |
export const userQuery = gql` | |
query { | |
user { | |
id | |
name | |
paid | |
} | |
} | |
` | |
export const signinUser = gql` | |
mutation ($email: String!, $password: String!) { | |
signinUser(email: {email: $email, password: $password}) { | |
token | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment