Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Jan 12, 2025
1 parent ab6bf03 commit 84f57ef
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions toot/cli/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,7 @@ def list(
if pager:
print_warning("--pager is not supported alongside --json, ignoring")

meta = pyjson.dumps({
"prev": _get_paging_params(response, "prev"),
"next": _get_paging_params(response, "next"),
})

click.echo(f"""{{"meta": {meta}, "data": {response.text}}}""")
click.echo(response.text)
return

notifications = from_dict_list(Notification, response.json())
Expand Down

0 comments on commit 84f57ef

Please sign in to comment.