mirror of
https://github.com/ihabunek/toot.git
synced 2025-02-02 15:07:51 -05:00
add get_lists method
This commit is contained in:
parent
4c12a210c4
commit
39e1f92970
@ -519,3 +519,8 @@ def clear_notifications(app, user):
|
||||
def get_instance(base_url):
|
||||
url = f"{base_url}/api/v1/instance"
|
||||
return http.anon_get(url).json()
|
||||
|
||||
|
||||
def get_lists(app, user):
|
||||
path = "/api/v1/lists"
|
||||
return _get_response_list(app, user, path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user