mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
command NOT_FOUND when not found
This commit is contained in:
@@ -387,7 +387,7 @@ uint8_t Command::call(const uint8_t device_type, const char * command, const cha
|
|||||||
output["message"] = err;
|
output["message"] = err;
|
||||||
LOG_WARNING("Command failed: %s", err.c_str());
|
LOG_WARNING("Command failed: %s", err.c_str());
|
||||||
}
|
}
|
||||||
return CommandRet::ERROR;
|
return CommandRet::NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
// before calling the command, check permissions and abort if not authorized
|
// before calling the command, check permissions and abort if not authorized
|
||||||
|
|||||||
Reference in New Issue
Block a user