summaryrefslogtreecommitdiffstats
path: root/frontend/queries/queries.graphql
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-05-17 16:41:32 -0400
committerWes Bos <wesbos@gmail.com>2018-05-17 16:41:32 -0400
commit51f593384f1325b78a263d0d870d162236ed28d2 (patch)
treedbd4d9c10d0ea55e81ce870676104f71f53c5f56 /frontend/queries/queries.graphql
parentf2e0263ee2d32b156a7a3b14770b897801c87553 (diff)
updates
Diffstat (limited to 'frontend/queries/queries.graphql')
-rw-r--r--frontend/queries/queries.graphql16
1 files changed, 6 insertions, 10 deletions
diff --git a/frontend/queries/queries.graphql b/frontend/queries/queries.graphql
index 2ee2c8b..ababde3 100644
--- a/frontend/queries/queries.graphql
+++ b/frontend/queries/queries.graphql
@@ -24,11 +24,9 @@ mutation SIGNUP_MUTATION($email: String!, $name: String!, $password: String!) {
mutation SIGNIN_MUTATION($email: String!, $password: String!) {
signin(email: $email, password: $password) {
- user {
- id
- email
- name
- }
+ id
+ email
+ name
}
}
@@ -46,11 +44,9 @@ mutation REQUEST_RESET_MUTATION($email: String!) {
mutation RESET_MUTATION($resetToken: String!, $password: String!, $confirmPassword: String!) {
resetPassword(resetToken: $resetToken, password: $password, confirmPassword: $confirmPassword) {
- user {
- id
- email
- name
- }
+ id
+ email
+ name
}
}