rename function device_info to device_info_web as it was a little confusing

This commit is contained in:
proddy
2020-09-07 11:00:53 +02:00
parent 897aa91229
commit 9f5849590c
21 changed files with 23 additions and 22 deletions

View File

@@ -81,7 +81,7 @@ void EMSESPDevicesService::device_data(AsyncWebServerRequest * request, JsonVari
AsyncJsonResponse * response = new AsyncJsonResponse(false, MAX_EMSESP_DEVICE_SIZE);
#ifndef EMSESP_STANDALONE
uint8_t id = json["id"]; // get id from selected table row
EMSESP::device_info(id, (JsonObject &)response->getRoot());
EMSESP::device_info_web(id, (JsonObject &)response->getRoot());
#endif
response->setLength();
request->send(response);