From 7293d464c2b719513f0e2a839165265956d8656e Mon Sep 17 00:00:00 2001 From: 4Source <38220764+4Source@users.noreply.github.com> Date: Fri, 7 Nov 2025 09:04:06 +0100 Subject: [PATCH] Fix requests (#6) --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 4fe22f9..4f44317 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,7 +15,7 @@ export default class FavoritesPlugin extends Plugin { uninstallThemeBrowserModalUpdateItems?: () => void; uninstallThemeBrowserModalShowItem?: () => void; - async onload() { + onload() { this.pluginsKey = process.env.FAVORITE_PLUGINS_KEY || ''; this.themesKey = process.env.FAVORITE_THEMES_KEY || ''; console.debug(`Plugins key: ${this.pluginsKey} Themes key: ${this.themesKey}`); @@ -42,7 +42,7 @@ export default class FavoritesPlugin extends Plugin { console.debug('Call PluginBrowserModal.updateItems'); // Load the favorite plugins - plugin.loadFavoritePlugins; + plugin.loadFavoritePlugins(); const result = oldMethod && oldMethod.apply(this);