Skip to content

Commit

Permalink
feat(app): update createApp and getAppsWithAccess functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RivierGrullon committed Dec 4, 2023
1 parent 1827ab3 commit faad2f3
Show file tree
Hide file tree
Showing 2 changed files with 6 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.64",
"version": "0.0.65",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
7 changes: 5 additions & 2 deletions src/modules/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,17 @@ export class App {
mutation: CREATE_APP,
variables: {
input
}
},
fetchPolicy: 'network-only',
})
return response.data
}

public async getAppsWithAccess(): Promise<AppWithAccessResponse> {
const response = await this.client.query({
query: GET_APPS_WITH_ACCESS
query: GET_APPS_WITH_ACCESS,
fetchPolicy: 'network-only',
partialRefetch: true,
})
return response.data
}
Expand Down

0 comments on commit faad2f3

Please sign in to comment.