Skip to content

Commit

Permalink
Add params to query subwallets for multitenancy
Browse files Browse the repository at this point in the history
Background:
The wallet_name was not passed as a param. Qerying a wallet by name
would therefore return all wallets from the ledger and not the specific
wallet.
  • Loading branch information
morrieinmaas committed Jul 8, 2021
1 parent efe3abe commit 161c56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries_cloudcontroller/controllers/multitenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ async def query_subwallets(self, wallet_name: str = None):
if wallet_name:
params["wallet_name"] = wallet_name

return await self.admin_GET(f"{self.base_url}/wallets")
return await self.admin_GET(f"{self.base_url}/wallets", params=params)

0 comments on commit 161c56a

Please sign in to comment.