mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
Remove Autostart parameter and make the flow to be always enabled (#3423)
* removed Autostart parameter and make it enabled by default * . * show menu entry in UI * cleanup migration * . * . * . * . * . * . * . * .
This commit is contained in:
@@ -422,8 +422,7 @@ esp_err_t handler_flow_start(httpd_req_t *req)
|
||||
else
|
||||
{
|
||||
LogFile.WriteToFile(ESP_LOG_WARN, TAG, "Flow start triggered by REST API, but flow is not active!");
|
||||
const char *resp_str = "WARNING: Flow start triggered by REST API, but flow is not active";
|
||||
httpd_resp_send(req, resp_str, HTTPD_RESP_USE_STRLEN);
|
||||
httpd_resp_send_err(req, HTTPD_403_FORBIDDEN, "Flow start triggered by REST API, but flow is not active");
|
||||
}
|
||||
|
||||
#ifdef DEBUG_DETAIL_ON
|
||||
|
||||
Reference in New Issue
Block a user