Преглед на файлове

fix #6555 : ovh dns api enable to remove record

Vmichelin преди 5 дни
родител
ревизия
25c564bae1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      dnsapi/dns_ovh.sh

+ 1 - 1
dnsapi/dns_ovh.sh

@@ -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