Skip to content

Commit

Permalink
ArduinoJson deprecation update
Browse files Browse the repository at this point in the history
  • Loading branch information
sblantipodi committed Sep 19, 2024
1 parent 43d01f4 commit 3d8575f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BootstrapManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ bool BootstrapManager::isWifiConfigured() {
return true;
} else {
JsonDocument mydoc = readLittleFS(F("setup.json"));
if (mydoc.containsKey(F("qsid"))) {
if (mydoc[F("qsid")].is<JsonVariant>()) {
Serial.println(F("Storage OK, restoring WiFi and MQTT config."));
microcontrollerIP = Helpers::getValue(mydoc["microcontrollerIP"]);
qsid = Helpers::getValue(mydoc[F("qsid")]);
Expand Down

0 comments on commit 3d8575f

Please sign in to comment.