Skip to content

Commit

Permalink
Minor bug for custom GraphQL queries
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesliupenn committed May 31, 2024
1 parent 1217f62 commit 9ba95b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dimo-network/dimo-node-sdk",
"version": "1.1.5",
"version": "1.1.6",
"description": "DIMO SDK for JavaScript",
"main": "dist/index.js",
"author": "James Li",
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/Resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class Resource {
Object.keys(resources).forEach(key => {
this[key] = (params: any = {}) => CustomQuery(
resources, // Setup the endpoint resources
this.api[this.resourceName], // Setup the base URL
this.api, // Setup the base URL
params, // Pass through the params
);
});
Expand Down

0 comments on commit 9ba95b0

Please sign in to comment.