fix: remove stale code

This commit is contained in:
ptrcnull 2024-07-23 14:45:47 +02:00
parent 23b6b78b64
commit 8483b50cbb

View file

@ -19,7 +19,6 @@ class PorkbunHandler(Handler):
def fetch(self, url: str, data: Optional[dict[str, Any]] = None) -> Any: def fetch(self, url: str, data: Optional[dict[str, Any]] = None) -> Any:
req = urllib.request.Request('https://api.porkbun.com/api/json/v3' + url) req = urllib.request.Request('https://api.porkbun.com/api/json/v3' + url)
req.add_header('Auth-API-Token', self.secret)
if not data: if not data:
data = {} data = {}