From 07a52bacc4993a7de0f7bba2d66d7e3e5309cf5f Mon Sep 17 00:00:00 2001 From: CZECHIA-COM Date: Tue, 24 Feb 2026 18:20:56 +0100 Subject: [PATCH] Update dns_czechia.sh dns_czechia: fix shellcheck unused variable --- dnsapi/dns_czechia.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_czechia.sh b/dnsapi/dns_czechia.sh index 33623a2e..bd9e4d90 100644 --- a/dnsapi/dns_czechia.sh +++ b/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" }