Skip to content

Commit 161c56a

Browse files
committed
Add params to query subwallets for multitenancy
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.
1 parent efe3abe commit 161c56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aries_cloudcontroller/controllers/multitenant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ async def query_subwallets(self, wallet_name: str = None):
4848
if wallet_name:
4949
params["wallet_name"] = wallet_name
5050

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

0 commit comments

Comments
 (0)