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" }