Changes as requested per Commit 9c90b21

In dnsapi/dns_dynu.sh line 115:
  export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
         ^-- SC2155: Declare and assign separately to avoid masking return values.
This commit is contained in:
shar0119 2017-03-27 12:27:21 -07:00 committed by GitHub
parent 5c78e0a462
commit d0300d4443

View File

@ -112,7 +112,9 @@ _dynu_rest() {
} }
_dynu_authentication() { _dynu_authentication() {
export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)" realm = "$(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
export _H1="Authorization: Basic $realm"
export _H2="Content-Type: application/json" export _H2="Content-Type: application/json"
response="$(_get "$Dynu_EndPoint/oauth2/token")" response="$(_get "$Dynu_EndPoint/oauth2/token")"