diff --git a/dyn_gandi/main.py b/dyn_gandi/main.py index eb6f7c9..52f826d 100644 --- a/dyn_gandi/main.py +++ b/dyn_gandi/main.py @@ -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': [{