Bugfixes around saving settings

This commit is contained in:
tastendruecker123 2023-04-13 17:42:54 +02:00
parent 48ce948ede
commit 2c0e1bbe57
7 changed files with 38 additions and 18 deletions

View file

@ -276,6 +276,7 @@ class RestApi {
getGeneric(request, obj.createNestedObject(F("generic")));
obj["pending"] = (bool)mApp->getSavePending();
obj["success"] = (bool)mApp->getLastSaveSucceed();
obj["reboot"] = (bool)mApp->getShouldReboot();
}
void getReboot(AsyncWebServerRequest *request, JsonObject obj) {