sdy

update queries name

1 import { gql } from "apollo-boost"; 1 import { gql } from "apollo-boost";
2 2
3 -export const LOGIN = gql` 3 +export const LOG_IN = gql`
4 mutation login($email: String!, $password: String!) { 4 mutation login($email: String!, $password: String!) {
5 login(email: $email, password: $password) { 5 login(email: $email, password: $password) {
6 token 6 token
...@@ -11,7 +11,7 @@ export const LOGIN = gql` ...@@ -11,7 +11,7 @@ export const LOGIN = gql`
11 } 11 }
12 `; 12 `;
13 13
14 -export const SIGNUP = gql` 14 +export const SIGN_UP = gql`
15 mutation createAccount( 15 mutation createAccount(
16 $email: String! 16 $email: String!
17 $username: String! 17 $username: String!
......