removed default argument

This commit is contained in:
Kristian Krsnik 2023-08-13 14:15:58 +02:00
parent 63fcfdaf3a
commit 993c960aea
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def checkRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal
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
payload = json.dumps({
'items': [{