refactor: clean up unused variables and improve .gitignore entries

This commit is contained in:
2025-07-28 09:51:46 +02:00
parent 739fe7e764
commit 3286b64836
3 changed files with 36 additions and 7 deletions

View File

@@ -599,8 +599,6 @@ bool saveSpoolmanUrl(const String& url, bool octoOn, const String& octo_url, con
octoUrl = octo_url;
octoToken = octoTk;
doc.clear();
return true;
}

View File

@@ -273,8 +273,6 @@ void setupWebserver(AsyncWebServer &server) {
html.replace("{{autoSendToBambu}}", bambuCredentials.autosend_enable ? "checked" : "");
html.replace("{{autoSendTime}}", (bambuCredentials.autosend_time != 0) ? String(bambuCredentials.autosend_time) : String(BAMBU_DEFAULT_AUTOSEND_TIME));
doc.clear();
request->send(200, "text/html", html);
});