Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-16 23:17:31 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
96f96a956bd9495852feec022c7e9e6fd4b0680f
96f96a95
1 parent
5be09663
update queries name
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
front/src/Routes/Auth/AuthQueries.js
front/src/Routes/Auth/AuthQueries.js
View file @
96f96a9
import
{
gql
}
from
"apollo-boost"
;
export
const
LOGIN
=
gql
`
export
const
LOG
_
IN
=
gql
`
mutation login($email: String!, $password: String!) {
login(email: $email, password: $password) {
token
...
...
@@ -11,7 +11,7 @@ export const LOGIN = gql`
}
`
;
export
const
SIGNUP
=
gql
`
export
const
SIGN
_
UP
=
gql
`
mutation createAccount(
$email: String!
$username: String!
...
...
Please
register
or
login
to post a comment