diff --git a/package.json b/package.json index 1730d3aa..30b6be80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "version": "0.0.66", + "version": "0.0.67", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", diff --git a/src/modules/app/index.ts b/src/modules/app/index.ts index 3bda7409..4d45f819 100644 --- a/src/modules/app/index.ts +++ b/src/modules/app/index.ts @@ -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, }, });