ipc: fix not returning reply data

This commit is contained in:
CanadaHonk 2022-12-18 13:52:50 +00:00
parent 7aa0c6cf2d
commit 007cf2d032

View File

@ -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 }) => {