Avoid references to websocket_api.const in core and other components (#119285)
This commit is contained in:
parent
2e3c3789d3
commit
960d1289ef
25 changed files with 49 additions and 63 deletions
|
@ -344,7 +344,7 @@ def ws_start_preview(
|
|||
connection.send_message(
|
||||
{
|
||||
"id": msg["id"],
|
||||
"type": websocket_api.const.TYPE_RESULT,
|
||||
"type": websocket_api.TYPE_RESULT,
|
||||
"success": False,
|
||||
"error": {"code": "invalid_user_input", "message": errors},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue