Browse Source

Updating Auth header to satisfy shellcheck

pull/6692/head
as-kholin 1 week ago
parent
commit
4a7e5d0720
No known key found for this signature in database GPG Key ID: 5DBF63B170405402
  1. 3
      dnsapi/dns_omglol.sh

3
dnsapi/dns_omglol.sh

@ -129,7 +129,8 @@ omg_testconnect() {
_secure_debug2 "omg.lol API key" "$omg_apikey" _secure_debug2 "omg.lol API key" "$omg_apikey"
_debug2 "omg.lol Address" "$omg_address" _debug2 "omg.lol Address" "$omg_address"
export _H1=$(_createAuthHeader "$omg_apikey")
authheader="$(_createAuthHeader "$omg_apikey")"
export _H1="$authheader"
endpoint="https://api.omg.lol/address/$omg_address/info" endpoint="https://api.omg.lol/address/$omg_address/info"
_debug2 "Endpoint for validation" "$endpoint" _debug2 "Endpoint for validation" "$endpoint"

Loading…
Cancel
Save