refactor: Rename load_remote_blocklist->load_blocklist_from_instance

This commit is contained in:
moanos [he/him] 2023-01-12 16:06:01 +01:00
parent eaccce8c6e
commit da984d80e4

View File

@ -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}',
}