mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 14:56:11 +02:00
Bugfixes around saving settings
This commit is contained in:
parent
48ce948ede
commit
2c0e1bbe57
7 changed files with 38 additions and 18 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue