mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 21:31:51 +00:00
fix #6555 : ovh dns api enable to remove record
This commit is contained in:
1 parent
15197455f2
commit
25c564bae1
1 file changed
+1
-1
+1
-1
@@ -201,7 +201,7 @@ dns_ovh_rm() {
|
||||
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
|
||||
return 1
|
||||
fi
|
||||
if _contains "$response" "\"target\":\"$txtvalue\""; then
|
||||
if _contains "$response" "$txtvalue"; then
|
||||
_debug "Found txt id:$rid"
|
||||
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
|
||||
return 1
|
||||
|
||||