rename json sizes

This commit is contained in:
proddy
2020-11-28 23:34:14 +01:00
parent bf65b99e7f
commit a745aa4fd8
6 changed files with 12 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ void WebDevicesService::scan_devices(AsyncWebServerRequest * request) {
}
void WebDevicesService::all_devices(AsyncWebServerRequest * request) {
AsyncJsonResponse * response = new AsyncJsonResponse(false, EMSESP_MAX_JSON_SIZE_LARGE_DYN);
AsyncJsonResponse * response = new AsyncJsonResponse(false, EMSESP_MAX_JSON_SIZE_LARGE);
JsonObject root = response->getRoot();
JsonArray devices = root.createNestedArray("devices");