Skip to content

Commit

Permalink
πŸ’„ Json output for
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido W. Pettinari committed Dec 3, 2022
1 parent 1ce62ac commit fc5bc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web3cli/controllers/db/tx_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def list(self) -> None:
)
def get(self) -> None:
tx = Tx.get_by_hash_or_raise(self.app.pargs.hash)
self.app.render(model_to_dict(tx))
self.app.render(model_to_dict(tx), indent=4, handler="json")

@ex(
help="add a new transaction to the database",
Expand Down

0 comments on commit fc5bc1c

Please sign in to comment.