diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-05-16 13:53:07 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-05-16 13:53:07 -0400 |
| commit | fceade857ecccad6884fe03a973215bd9df1a1e7 (patch) | |
| tree | 1af26e1116ac4ca54afa35ba932b1d35ec328861 /frontend/queries/queries.graphql | |
| parent | 7ec0943b5d48eb268d03cfa6321c7d83a0d02883 (diff) | |
simplyfyyyy
Diffstat (limited to 'frontend/queries/queries.graphql')
| -rw-r--r-- | frontend/queries/queries.graphql | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/frontend/queries/queries.graphql b/frontend/queries/queries.graphql index 22e5f29..2ee2c8b 100644 --- a/frontend/queries/queries.graphql +++ b/frontend/queries/queries.graphql @@ -16,18 +16,14 @@ mutation CREATE_ITEM_MUTATION($description: String!, $title: String!, $price: In mutation SIGNUP_MUTATION($email: String!, $name: String!, $password: String!) { signup(email: $email, name: $name, password: $password) { - token - user { - id - email - name - } + id + email + name } } mutation SIGNIN_MUTATION($email: String!, $password: String!) { signin(email: $email, password: $password) { - token user { id email @@ -38,7 +34,7 @@ mutation SIGNIN_MUTATION($email: String!, $password: String!) { mutation SIGN_OUT_MUTATION { signout { - id + message } } @@ -50,7 +46,6 @@ mutation REQUEST_RESET_MUTATION($email: String!) { mutation RESET_MUTATION($resetToken: String!, $password: String!, $confirmPassword: String!) { resetPassword(resetToken: $resetToken, password: $password, confirmPassword: $confirmPassword) { - token user { id email |
