Update dns_simplycom.sh

This commit is contained in:
Tom Sommer 2021-08-24 09:33:37 +02:00 committed by GitHub
parent 2c9273b4de
commit 6f0b9f75c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,13 +245,13 @@ _simply_rest() {
response="$(_get "$SIMPLY_Api/$SIMPLY_AccountName/$SIMPLY_ApiKey/$ep")" response="$(_get "$SIMPLY_Api/$SIMPLY_AccountName/$SIMPLY_ApiKey/$ep")"
fi fi
response="$(echo "$response" | _normalizeJson)"
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
_err "error $ep" _err "error $ep"
return 1 return 1
fi fi
response="$(echo "$response" | _normalizeJson)"
_debug2 response "$response" _debug2 response "$response"
if _contains "$response" "Invalid account authorization"; then if _contains "$response" "Invalid account authorization"; then