Browse Source

Update dns_czechia.sh

dns_czechia: fix shellcheck unused variable
pull/6764/head
CZECHIA-COM 3 weeks ago
committed by GitHub
parent
commit
07a52bacc4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      dnsapi/dns_czechia.sh

4
dnsapi/dns_czechia.sh

@ -176,6 +176,6 @@ _czechia_api_request() {
export _H2="Content-Type: application/json"
export _CURL_TIMEOUT="$CZ_CURL_TIMEOUT"
resp="$(_post "$body" "$url" "" "$method" "application/json")"
return "$?"
# _post() handles POST/PUT/DELETE when method is provided.
_post "$body" "$url" "" "$method" "application/json"
}
Loading…
Cancel
Save