Remove unused arguments

merge-requests/30/head
Bob Mottram 2024-02-07 17:19:32 +00:00
parent 28f3082c4b
commit 8711dbfabb
2 changed files with 2 additions and 6 deletions

View File

@ -1335,10 +1335,9 @@ class PubServer(BaseHTTPRequestHandler):
masto_api_v2_response(path, masto_api_v2_response(path,
calling_domain, calling_domain,
ua_str, ua_str,
authorized,
http_prefix, http_prefix,
base_dir, base_dir,
nickname, domain, domain,
domain_full, domain_full,
onion_domain, onion_domain,
i2p_domain, i2p_domain,
@ -1346,7 +1345,6 @@ class PubServer(BaseHTTPRequestHandler):
registration, registration,
system_language, system_language,
project_version, project_version,
custom_emoji,
show_node_info_accounts, show_node_info_accounts,
broch_mode) broch_mode)

View File

@ -257,16 +257,14 @@ def _meta_data_instance_v2(show_accounts: bool,
def masto_api_v2_response(path: str, calling_domain: str, def masto_api_v2_response(path: str, calling_domain: str,
ua_str: str, ua_str: str,
authorized: bool,
http_prefix: str, http_prefix: str,
base_dir: str, nickname: str, domain: str, base_dir: str, domain: str,
domain_full: str, domain_full: str,
onion_domain: str, i2p_domain: str, onion_domain: str, i2p_domain: str,
translate: {}, translate: {},
registration: bool, registration: bool,
system_language: str, system_language: str,
project_version: str, project_version: str,
custom_emoji: [],
show_node_info_accounts: bool, show_node_info_accounts: bool,
broch_mode: bool) -> ({}, str): broch_mode: bool) -> ({}, str):
"""This is a vestigil mastodon API for the purpose """This is a vestigil mastodon API for the purpose