diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-04-12 16:31:01 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-04-12 16:31:01 -0400 |
| commit | 97b6de6aa437f7a913a33b9e6aa18a919faf2caf (patch) | |
| tree | 431e12a535baf1d2ad59601ee7c5e8084ae7a263 /frontend/queries | |
| parent | d22616d5a675f5a381c741784333151255713b45 (diff) | |
a whole bunch of things that should be in their own commits
Diffstat (limited to 'frontend/queries')
| -rw-r--r-- | frontend/queries/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/queries/index.js b/frontend/queries/index.js index 5e9e28b..26eae35 100644 --- a/frontend/queries/index.js +++ b/frontend/queries/index.js @@ -102,11 +102,14 @@ export const SINGLE_ITEM_QUERY = gql` export const SINGLE_ORDER_QUERY = gql` query order($id: ID!) { - order(where: { id: $id }) { + order(id: $id) { id charge total createdAt + user { + id + } items { id title @@ -179,6 +182,7 @@ export const CURRENT_USER_QUERY = gql` id email name + permissions orders { charge id |
