Browse Source

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.
pull/726/head
shar0119 8 years ago
committed by GitHub
parent
commit
d0300d4443
  1. 4
      dnsapi/dns_dynu.sh

4
dnsapi/dns_dynu.sh

@ -112,7 +112,9 @@ _dynu_rest() {
}
_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"
response="$(_get "$Dynu_EndPoint/oauth2/token")"

Loading…
Cancel
Save