We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d01f4 commit 3d8575fCopy full SHA for 3d8575f
src/BootstrapManager.cpp
@@ -519,7 +519,7 @@ bool BootstrapManager::isWifiConfigured() {
519
return true;
520
} else {
521
JsonDocument mydoc = readLittleFS(F("setup.json"));
522
- if (mydoc.containsKey(F("qsid"))) {
+ if (mydoc[F("qsid")].is<JsonVariant>()) {
523
Serial.println(F("Storage OK, restoring WiFi and MQTT config."));
524
microcontrollerIP = Helpers::getValue(mydoc["microcontrollerIP"]);
525
qsid = Helpers::getValue(mydoc[F("qsid")]);
0 commit comments