diff options
| author | Factiven <[email protected]> | 2023-04-11 23:23:29 +0700 |
|---|---|---|
| committer | Factiven <[email protected]> | 2023-04-11 23:23:29 +0700 |
| commit | 1fcdd9f7d859b925bf92265f441655d5522e351c (patch) | |
| tree | 86391522f6fcc70d105f7e796a9f91d132ee4a29 /queries/GET_CURRENT_USER.js | |
| parent | Initial commit (diff) | |
| download | moopa-1fcdd9f7d859b925bf92265f441655d5522e351c.tar.xz moopa-1fcdd9f7d859b925bf92265f441655d5522e351c.zip | |
initial commit
Diffstat (limited to 'queries/GET_CURRENT_USER.js')
| -rw-r--r-- | queries/GET_CURRENT_USER.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/queries/GET_CURRENT_USER.js b/queries/GET_CURRENT_USER.js new file mode 100644 index 0000000..50dc1a4 --- /dev/null +++ b/queries/GET_CURRENT_USER.js @@ -0,0 +1,15 @@ +import { gql } from "@apollo/client"; + +export default gql` + query { + Viewer { + id + name + avatar { + large + medium + } + bannerImage + } + } +`; |