no stone unturned
This commit is contained in:
parent
7c0ca6615c
commit
b276e849af
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class MainWebServerClass{
|
||||||
request->send(response);
|
request->send(response);
|
||||||
}
|
}
|
||||||
else if (paramState == String(1)) {
|
else if (paramState == String(1)) {
|
||||||
lockDoor();
|
lockDoor(false);
|
||||||
AsyncWebServerResponse *response = request->beginResponse(200, "application/json", "{\"msg\":\"Door Locked.\"}");
|
AsyncWebServerResponse *response = request->beginResponse(200, "application/json", "{\"msg\":\"Door Locked.\"}");
|
||||||
request->send(response);
|
request->send(response);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue