0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-06-30 22:18:36 -04:00
This commit is contained in:
Ivan Habunek 2025-01-12 08:51:08 +01:00
parent ab6bf03c19
commit 84f57efed2
No known key found for this signature in database
GPG Key ID: 01DB3DD0D824504C

View File

@ -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())