refactor: update booted api function

This commit is contained in:
Derrick Hammer 2023-07-31 12:54:21 -04:00
parent 2937761e11
commit 8e5922ab60
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { getBooted, getTimer } from "../vars.js";
import { awaitBooted, getTimer } from "../vars.js";
import browser from "webextension-polyfill";
import { logLargeObjects } from "./background/util.js";
import { queryKernel } from "./background/kernel.js";
@ -26,7 +26,7 @@ browser.runtime.onMessage.addListener(async (request, sender) => {
}
if (request.method === "waitForBoot") {
await getBooted();
await awaitBooted();
return true;
}