From da984d80e4cdc4d480a0faf63e027f819ee1e709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Thu, 12 Jan 2023 16:06:01 +0100 Subject: [PATCH] refactor: Rename load_remote_blocklist->load_blocklist_from_instance --- mastodon_blocklist_deploy/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon_blocklist_deploy/cli.py b/mastodon_blocklist_deploy/cli.py index b049471..a9833b1 100644 --- a/mastodon_blocklist_deploy/cli.py +++ b/mastodon_blocklist_deploy/cli.py @@ -43,7 +43,7 @@ def blocklist_json_to_instances(blocklist_json: str) -> [Instance]: return instances -def load_remote_blocklist(server: str, token: str) -> [Instance]: +def load_blocklist_from_instance(server: str, token: str) -> [Instance]: headers = { f'Authorization': f'Bearer {token}', }