Skip to content

Commit

Permalink
WebApi_dtu: remove trailing whitespace
Browse files Browse the repository at this point in the history
probably added during conflict resolving. these removed whitespace are
not part of the upstream.
  • Loading branch information
schlimmchen committed Sep 9, 2024
1 parent cdd6f4c commit 5ea8fbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/WebApi_dtu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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!";
Expand Down

0 comments on commit 5ea8fbe

Please sign in to comment.