Skip to content

Commit

Permalink
Update json dump method
Browse files Browse the repository at this point in the history
  • Loading branch information
infosecB committed Jan 4, 2024
1 parent d735623 commit feb9980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyloobins/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get(name: str, path: str = "") -> None:
if len(res) == 0:
print(f"No LOOBin found for {name}.")
else:
print(res[0].json(indent=True, exclude_none=True))
print(res[0].model_dump_json(indent=True, exclude_none=True))


if __name__ == "__main__":
Expand Down

0 comments on commit feb9980

Please sign in to comment.