Browse Source
Update dns_czechia.sh
dns_czechia: fix shellcheck unused variable
pull/6764/head
CZECHIA-COM
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
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" |
|
|
|
} |