mirror of
https://github.com/wisplite/tether-ts.git
synced 2026-05-01 06:22:41 -05:00
fix json parsing error
This commit is contained in:
Vendored
+2
-2
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user