From 7c3bc7418676211d1ebf376579caadaec43b305d Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Tue, 12 Sep 2023 11:14:06 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_err_response.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/websocket/internal/logic/ws_err_response.go b/server/websocket/internal/logic/ws_err_response.go index 51db1b1b..5e7c4279 100644 --- a/server/websocket/internal/logic/ws_err_response.go +++ b/server/websocket/internal/logic/ws_err_response.go @@ -17,12 +17,12 @@ func (w *wsConnectItem) renderErrResponse(renderId, templateTag, taskId, descrip if taskId != "" { data["task_id"] = taskId } - if userId >= 0 { + /*if userId >= 0 { data["user_id"] = userId } if guestId >= 0 { data["guest_id"] = guestId - } + }*/ if templateId > 0 { data["template_id"] = templateId }