summaryrefslogtreecommitdiff
path: root/frontend/src/store.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/store.tsx')
-rw-r--r--frontend/src/store.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index 5ae98ec4..3fcfdb2f 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -37,7 +37,7 @@ export async function getStore(): Promise<Store> {
}
export async function getPluginList(): Promise<StorePlugin[]> {
- let version = await window.DeckyPluginLoader.updateVersion();
+ let version = await DeckyPluginLoader.updateVersion();
let store = await getSetting<Store | null>('store', null);
let customURL = await getSetting<string>('store-url', 'https://plugins.deckbrew.xyz/plugins');
let storeURL;
@@ -112,7 +112,7 @@ export async function requestMultiplePluginInstalls(requests: PluginInstallReque
);
}
-export async function checkForUpdates(plugins: Plugin[]): Promise<PluginUpdateMapping> {
+export async function checkForPluginUpdates(plugins: Plugin[]): Promise<PluginUpdateMapping> {
const serverData = await getPluginList();
const updateMap = new Map<string, StorePluginVersion>();
for (let plugin of plugins) {