Remove TTL parameter from DNS edit request

This commit is contained in:
Anthony Wang 2022-07-21 14:13:28 -05:00
parent 496b79bce0
commit e534284cde
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

View file

@ -33,7 +33,6 @@ def edit_record(id, ip):
config['type'] = 'A' if ip.version == 4 else 'AAAA'
config['content'] = str(ip)
config['ttl'] = 600
return api(endpoint + 'dns/edit/' + config['domain'] + '/' + id)