в "Update device data: " давал непечатаемый сивол

This commit is contained in:
DmitriyTychina
2023-09-10 18:32:49 +03:00
parent 1019143d0d
commit 6892beeb38

View File

@@ -34,7 +34,7 @@ void updateDeviceStatus() {
int httpResponseCode = http.POST(httpRequestData);
if (httpResponseCode > 0) {
ret = httpResponseCode;
ret = http.errorToString(httpResponseCode).c_str();
if (httpResponseCode == HTTP_CODE_OK) {
String payload = http.getString();
ret += " " + payload;