Fix typo on ESP701

This commit is contained in:
Luc 2022-07-17 13:28:37 +08:00
parent 5328940980
commit 982104e742

View File

@ -106,7 +106,7 @@ bool Commands::ESP701(const char* cmd_params, level_authenticate_type auth_type,
if (esp3d_gcode_host.getErrorNum()!=ERROR_NO_ERROR) {
noError = false;
if(json) {
resp= "{\"state\":\"no stream\",\"code\":\"" + String(esp3d_gcode_host.getErrorNum()) + "\"}";
resp= "{\"status\":\"no stream\",\"code\":\"" + String(esp3d_gcode_host.getErrorNum()) + "\"}";
} else {
resp = "no stream, last error " + String(esp3d_gcode_host.getErrorNum());
}