diff --git a/modules/client/CHANGELOG.md b/modules/client/CHANGELOG.md index f33c181ae..15005ad8c 100644 --- a/modules/client/CHANGELOG.md +++ b/modules/client/CHANGELOG.md @@ -22,6 +22,7 @@ TEMPLATE: ### Fixed - Added missing security check that checks that the `to` address in the permission actions is the DAO address +- Fix isMember function for tokenVoting DAOs by reversing the query id order ## [1.19.2] diff --git a/modules/client/src/tokenVoting/internal/client/methods.ts b/modules/client/src/tokenVoting/internal/client/methods.ts index f96f02940..c1d7a9557 100644 --- a/modules/client/src/tokenVoting/internal/client/methods.ts +++ b/modules/client/src/tokenVoting/internal/client/methods.ts @@ -852,7 +852,7 @@ export class TokenVotingClientMethods extends ClientCore query, params: { id: - `${params.pluginAddress.toLowerCase()}_${params.address.toLowerCase()}`, + `${params.address.toLowerCase()}_${params.pluginAddress.toLowerCase()}`, blockHeight: params.blockNumber ? { number: params.blockNumber } : null, }, name, diff --git a/yarn.lock b/yarn.lock index 95daa37ff..06d11f864 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15955,3 +15955,4 @@ yup@^1.2.0: tiny-case "^1.0.3" toposort "^2.0.2" type-fest "^2.19.0" + \ No newline at end of file