Merge pull request #3031 from peterkelm/patch-1

Reflect recent Variomedia API changes
This commit is contained in:
neil
2020-07-08 22:24:14 +08:00
committed by GitHub

View File

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