Skip to content

Commit

Permalink
build: 1.3.5-re
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed May 19, 2024
1 parent 7194f31 commit 15d351e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/onebot11/server/ws/ReverseWebsocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export class ReverseWebsocket {
return wsReply(this.websocket!, OB11Response.error('不支持的api ' + receiveData.action, 1404, echo));
}
try {
receiveData.params = (receiveData?.params) ? receiveData.params : {};//兼容类型验证
const handleResult = await action.websocketHandle(receiveData.params, echo);
wsReply(this.websocket!, handleResult);
} catch (e) {
Expand Down

0 comments on commit 15d351e

Please sign in to comment.