From dfe7b4646111a4953fdcee336dd85800e3436974 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 16 Apr 2026 08:44:44 +0200 Subject: [PATCH] remove unused http --- src/web/WebSchedulerService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/WebSchedulerService.cpp b/src/web/WebSchedulerService.cpp index db3293fbe..392bb36bd 100644 --- a/src/web/WebSchedulerService.cpp +++ b/src/web/WebSchedulerService.cpp @@ -352,7 +352,7 @@ bool WebSchedulerService::command(const char * name, const std::string & command // parse json JsonDocument doc; if (deserializeJson(doc, cmd) == DeserializationError::Ok) { - HTTPClient http; + // HTTPClient http; 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 @@ -461,7 +461,7 @@ bool WebSchedulerService::command(const char * name, const std::string & command return true; } else #endif - if (Helpers::toLower(url.c_str()).starts_with("http://")) { + if (Helpers::toLower(url.c_str()).starts_with("http://")) { HTTPClient * http = new HTTPClient; if (http->begin(url.c_str())) { bool content_set = false;