fix json parsing error

This commit is contained in:
2026-04-23 08:54:13 -05:00
parent 6ee7b5ac34
commit dca7ea5707
5 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ export class TetherClient {
mutation_id: mutation_id
}));
return new Promise((resolve, reject) => {
this.websocketHandler.onMutation = (data) => {
if (data.mutation_id === mutation_id) {
this.websocketHandler.onMutation = (mutation_id, data) => {
if (mutation_id === mutation_id) {
resolve(data);
}
};