From e195b92d80cdd62ed55fe9e6a0fd95645d1a46be Mon Sep 17 00:00:00 2001 From: Ankush Jain <91221068+ankush-jain-akto@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:39:34 -0800 Subject: [PATCH] use isMetered instead of localdeploy --- .../src/main/java/com/akto/listener/InitializerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/main/java/com/akto/listener/InitializerListener.java b/apps/dashboard/src/main/java/com/akto/listener/InitializerListener.java index 62d8b49dee..c0345cbcaf 100644 --- a/apps/dashboard/src/main/java/com/akto/listener/InitializerListener.java +++ b/apps/dashboard/src/main/java/com/akto/listener/InitializerListener.java @@ -3357,7 +3357,7 @@ public static void processTemplateFilesZip(byte[] zipFile, String author, String if (testConfig != null) { boolean hasSettings = testConfig.getAttributes() != null; - if (hasSettings && !testConfig.getAttributes().getPlan().equals(TemplatePlan.FREE) && DashboardMode.isLocalDeployment()) { + if (hasSettings && !testConfig.getAttributes().getPlan().equals(TemplatePlan.FREE) && !DashboardMode.isMetered()) { skipped++; continue; }