Browse Source

Add missing arg to get_proxy_url_from_api

Toni Spets 2 years ago
parent
commit
62780c3ef6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mauigpapi/proxy.py

+ 1 - 1
mauigpapi/proxy.py

@@ -37,7 +37,7 @@ class ProxyHandler:
     def __init__(self, api_url: str | None) -> None:
         self.api_url = api_url
 
-    def get_proxy_url_from_api(self) -> str | None:
+    def get_proxy_url_from_api(self, reason: str | None = None) -> str | None:
         assert self.api_url is not None
 
         api_url = str(URL(self.api_url).update_query({"reason": reason} if reason else {}))