Skip to content

Commit

Permalink
Fix: aleph account balance miss await
Browse files Browse the repository at this point in the history
  • Loading branch information
1yam authored and MHHukiewitz committed Dec 3, 2023
1 parent f185fd2 commit 6f70582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph_client/commands/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ async def balance(
async with aiohttp.ClientSession() as session:
response = await session.get(uri)
if response.status == 200:
balance_data = response.json()
balance_data = await response.json()
formatted_balance_data = json.dumps(balance_data, indent=4, default=extended_json_encoder)
typer.echo(formatted_balance_data)
else:
Expand Down

0 comments on commit 6f70582

Please sign in to comment.