Skip to content

Commit

Permalink
Fix: Plugin preparations query (#298)
Browse files Browse the repository at this point in the history
* fix plugin preeparations query

* update changelog and version

* fix tests
  • Loading branch information
josemarinas committed Nov 2, 2023
1 parent 67ca202 commit 706d486
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions modules/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ TEMPLATE:
## [UPCOMING]
### Fixed

- Plugin preparations query

## [1.18.1]
### Fixed

- ERC20Transfers query missing decimals


Expand Down
2 changes: 1 addition & 1 deletion modules/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aragon/sdk-client",
"author": "Aragon Association",
"version": "1.18.1",
"version": "1.18.2",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/sdk-client.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion modules/client/src/internal/client/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ export class ClientMethods extends ClientCore implements IClientMethods {
where = { ...where, pluginAddress: pluginAddress.toLowerCase() };
}
if (pluginRepoAddress) {
where = { ...where, pluginRepoAddress: pluginRepoAddress.toLowerCase() };
where = { ...where, pluginRepo: pluginRepoAddress.toLowerCase() };
}
if (daoAddressOrEns) {
where = { ...where, dao: daoAddressOrEns.toLowerCase() };
Expand Down
2 changes: 1 addition & 1 deletion modules/client/test/integration/client/methods.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1841,7 +1841,7 @@ describe("Client", () => {
where: {
dao: params.daoAddressOrEns,
pluginAddress: params.pluginAddress,
pluginRepoAddress: params.pluginRepoAddress,
pluginRepo: params.pluginRepoAddress,
},
limit: params.limit,
skip: params.skip,
Expand Down

0 comments on commit 706d486

Please sign in to comment.