Skip to content

Commit

Permalink
Merge pull request #124 from bakaphp/fix/get-user
Browse files Browse the repository at this point in the history
fix(app): update query variables and options
  • Loading branch information
RivierGrullon authored Dec 7, 2023
2 parents a889169 + 873bde1 commit db717ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{

"version": "0.0.66",
"version": "0.0.67",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions src/modules/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ class Users {
const response = await this.client.query({
query: GET_APP_USERS,
variables: {
first: 1,
where: {
whereCondition: {
column: 'EMAIL',
operator: 'EQ',
value: email,
},
fetchPolicy: 'network-only',
partialRefetch: true,
},
});

Expand Down

0 comments on commit db717ed

Please sign in to comment.