fix in ovhapi module
This commit is contained in:
parent
de99d576a5
commit
160a186f65
@ -150,7 +150,7 @@ def domain_put_record(zone="",
|
||||
for rec in records:
|
||||
res = client.get(f'/domain/zone/{zone}/record/{rec}')
|
||||
if res['target'] == target:
|
||||
req = client.put(f'/domain/zone/{zone}/record/{rec["id"]}',
|
||||
req = client.put(f'/domain/zone/{zone}/record/{rec}',
|
||||
subDomain=subDomain,
|
||||
target=target,
|
||||
ttl=ttl)
|
||||
|
Loading…
Reference in New Issue
Block a user