fix: need to pass nonce with query

This commit is contained in:
Derrick Hammer 2023-09-11 07:00:38 -04:00
parent 9244312141
commit 6fb7486368
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ function newBootloaderQuery(method: string, data: any): Promise<any> {
let nonce = nextNonce();
queries[nonce] = { resolve: receiveResponse };
getKernelIframe().contentWindow?.postMessage(
{ method, data },
{ method, data, nonce },
kernelOrigin,
);
});