diff --git a/src/web/WebAPIService.cpp b/src/web/WebAPIService.cpp index 67eadf422..5c340038c 100644 --- a/src/web/WebAPIService.cpp +++ b/src/web/WebAPIService.cpp @@ -127,11 +127,6 @@ void WebAPIService::parse(AsyncWebServerRequest * request, JsonObject & input) { } emsesp::EMSESP::logger().err(error); api_fails_++; - } else { - // if there was no json output from the call, default to the output message 'OK'. - if (!output.size()) { - output["message"] = "OK"; - } } // if we're returning single values, just sent as plain text