auto-formatting

This commit is contained in:
proddy
2026-05-10 13:21:28 +02:00
parent 017a7de639
commit 37a94f8e0f
3 changed files with 7 additions and 7 deletions

View File

@@ -352,8 +352,8 @@ bool WebSchedulerService::command(const char * name, const std::string & command
// parse json
JsonDocument doc;
if (deserializeJson(doc, cmd) == DeserializationError::Ok) {
HTTPClient * http = new HTTPClient;
std::string url = doc["url"] | "";
HTTPClient * http = new HTTPClient;
std::string url = doc["url"] | "";
// for a GET with parameters replace commands with values
// don't search the complete url, it may contain a devicename in path
auto q = url.find_first_of('?');