mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
в "Update device data: " давал непечатаемый сивол
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user