Browse Source
Merge pull request #3031 from peterkelm/patch-1
Reflect recent Variomedia API changes
none
neil
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_variomedia.sh
|
@ -107,7 +107,7 @@ _get_root() { |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if _startswith "$response" "\{\"data\":"; then |
|
|
if _startswith "$response" "\{\"data\":"; then |
|
|
if _contains "$response" "\"id\": \"$h\""; then |
|
|
|
|
|
|
|
|
if _contains "$response" "\"id\":\"$h\""; then |
|
|
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$h\$//")" |
|
|
_sub_domain="$(echo "$fulldomain" | sed "s/\\.$h\$//")" |
|
|
_domain=$h |
|
|
_domain=$h |
|
|
return 0 |
|
|
return 0 |
|
|