Unverified Commit 0545d6f0 authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #3031 from peterkelm/patch-1

Reflect recent Variomedia API changes
parents d8042289 f02af8d4
...@@ -107,7 +107,7 @@ _get_root() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment