fix(feishu): response websocket event as success (#110)

This commit is contained in:
SpencerSwagger authored and GitHub committed 2026-03-18 07:50:08 +07:00
1 parent ce333c70f3
commit 827c784b62
1 file changed
+3 -1
+3 -1
View File
@@ -317,11 +317,13 @@ func (c *WSClient) sendResponse(original *wsFrame, headers map[string]string) {
respHeaders = append(respHeaders, wsHeader{Key: "biz_rt", Value: "0"})
respPayload, _ := json.Marshal(map[string]any{
"code": 0,
"code": http.StatusOK,
"msg": "success",
})
resp := &wsFrame{
SeqID: original.SeqID,
LogID: original.LogID,
Method: frameTypeData,
Service: original.Service,
Headers: respHeaders,