This commit is contained in:
Matthew Frost 2024-04-13 20:05:17 +02:00
parent 7d166f3900
commit a29b52463a
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ class MainWebServerClass{
return request->requestAuthentication();
}
}
request->send(200, "application/json", "{\"version\":\"3.1.8\"}");
request->send(200, "application/json", "{\"version\":\"3.1.9\"}");
});
_server->onNotFound([&](AsyncWebServerRequest *request){

View file

@ -505,7 +505,7 @@ void authenticationFlow(uint64_t cardData) {
#ifdef LOCAL_ACL
#ifndef TINANCE2_BACKEND
localAcl(String(cardID));
localAcl(String(fullCardID));
#endif
#endif

View file

@ -134,7 +134,7 @@ HTTPClient tinance2_http;
#ifdef SERIAL_DEBUG
Serial.println("Got unexpected http response using offline auth.");
#endif
localAcl(String(cardID));
localAcl(String(fullCardID));
#endif
return;
}
@ -168,7 +168,7 @@ HTTPClient tinance2_http;
Serial.println("Tinance2 Wifi Disconnected using offline processes.");
#endif
#ifdef LOCAL_ACL
localAcl(String(cardID));
localAcl(String(fullCardID));
#endif
}
}