removed default argument
This commit is contained in:
parent
63fcfdaf3a
commit
993c960aea
@ -76,7 +76,7 @@ def checkRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal
|
|||||||
return records_to_renew
|
return records_to_renew
|
||||||
|
|
||||||
|
|
||||||
def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Callable[[str], Any], ttl: int = 3600) -> None:
|
def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Callable[[str], Any], ttl) -> None:
|
||||||
# Updates the records and reates them if they don't exist
|
# Updates the records and reates them if they don't exist
|
||||||
payload = json.dumps({
|
payload = json.dumps({
|
||||||
'items': [{
|
'items': [{
|
||||||
|
Loading…
Reference in New Issue
Block a user