Pārlūkot izejas kodu

Merge pull request #3031 from peterkelm/patch-1

Reflect recent Variomedia API changes
neil 5 gadi atpakaļ
vecāks
revīzija
0545d6f083
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      dnsapi/dns_variomedia.sh

+ 1 - 1
dnsapi/dns_variomedia.sh

@@ -107,7 +107,7 @@ _get_root() {
     fi
 
     if _startswith "$response" "\{\"data\":"; then
-      if _contains "$response" "\"id\": \"$h\""; then
+      if _contains "$response" "\"id\":\"$h\""; then
         _sub_domain="$(echo "$fulldomain" | sed "s/\\.$h\$//")"
         _domain=$h
         return 0