ipc: fix not returning reply data
This commit is contained in:
parent
7aa0c6cf2d
commit
007cf2d032
@ -39,7 +39,7 @@ window.Gluon = {
|
||||
onIPCReply[id] = msg => res(msg);
|
||||
});
|
||||
|
||||
return reply;
|
||||
return reply.data;
|
||||
},
|
||||
|
||||
on: (type, cb) => {
|
||||
@ -103,7 +103,7 @@ delete window._gluonSend;
|
||||
onIPCReply[id] = msg => res(msg);
|
||||
});
|
||||
|
||||
return reply;
|
||||
return reply.data;
|
||||
};
|
||||
|
||||
const onWindowMessage = async ({ id, type, data }) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user