From 5ea8fbecf999f2f51a5a14509e43fb101a7d69b5 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Mon, 9 Sep 2024 22:28:06 +0200 Subject: [PATCH] WebApi_dtu: remove trailing whitespace probably added during conflict resolving. these removed whitespace are not part of the upstream. --- src/WebApi_dtu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/WebApi_dtu.cpp b/src/WebApi_dtu.cpp index 8e587f852..0c038c227 100644 --- a/src/WebApi_dtu.cpp +++ b/src/WebApi_dtu.cpp @@ -91,11 +91,11 @@ void WebApiDtuClass::onDtuAdminPost(AsyncWebServerRequest* request) auto& retMsg = response->getRoot(); - if (!(root.containsKey("serial") + if (!(root.containsKey("serial") && root.containsKey("pollinterval") - && root.containsKey("verbose_logging") - && root.containsKey("nrf_palevel") - && root.containsKey("cmt_palevel") + && root.containsKey("verbose_logging") + && root.containsKey("nrf_palevel") + && root.containsKey("cmt_palevel") && root.containsKey("cmt_frequency") && root.containsKey("cmt_country"))) { retMsg["message"] = "Values are missing!";