mirror of
https://github.com/ihabunek/toot.git
synced 2025-06-30 22:18:36 -04:00
wip
This commit is contained in:
parent
ab6bf03c19
commit
84f57efed2
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user