Skip to content

[BUG]Lỗi parsing gói tin nhận được. #237

@sandichhuu

Description

@sandichhuu

Sau khi đăng nhập và gửi một vài tin nhắn, mình nhận được lỗi như sau:
301 | }
302 | if (cmd == 602 && subCmd == 0) {
303 | const parsedData = (await decodeEventData(parsed, this.cipherKey)).data;
304 | const { actions } = parsedData;
305 | for (const action of actions) {
306 | const data = JSON.parse({${action.data}});
^
SyntaxError: JSON Parse error: Expected '}'
at (/app/node_modules/zca-js/dist/apis/listen.js:306:43)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions