fix: remove stale code
This commit is contained in:
parent
23b6b78b64
commit
8483b50cbb
1 changed files with 0 additions and 1 deletions
|
@ -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 = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue