From 22814db9d30ba242e74e8f7c108ae1930c9df0a1 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Thu, 15 Jun 2023 22:49:46 +0100 Subject: [PATCH] Quick fix suggested by Rory to make use of the cached license when fetching the app package. --- packages/server/src/api/controllers/application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/application.ts b/packages/server/src/api/controllers/application.ts index ed31615981..32cc8a96fb 100644 --- a/packages/server/src/api/controllers/application.ts +++ b/packages/server/src/api/controllers/application.ts @@ -208,7 +208,7 @@ export async function fetchAppPackage(ctx: UserCtx) { let application = await db.get(DocumentType.APP_METADATA) const layouts = await getLayouts() let screens = await getScreens() - const license = await licensing.getLicense() + const license = await licensing.getCachedLicense() // Enrich plugin URLs application.usedPlugins = objectStore.enrichPluginURLs(