From 949b87005c90d2d5347e80ef657e44b5d9c6a9c0 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Tue, 22 Oct 2024 15:36:22 +0100 Subject: [PATCH] Fix metricCollection --- .../java/stirling/software/SPDF/service/PostHogService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/stirling/software/SPDF/service/PostHogService.java b/src/main/java/stirling/software/SPDF/service/PostHogService.java index 381bb014..25d88335 100644 --- a/src/main/java/stirling/software/SPDF/service/PostHogService.java +++ b/src/main/java/stirling/software/SPDF/service/PostHogService.java @@ -43,7 +43,7 @@ public class PostHogService { } private void captureSystemInfo() { - if (!Boolean.getBoolean(applicationProperties.getSystem().getEnableAnalytics())) { + if (!Boolean.parseBoolean(applicationProperties.getSystem().getEnableAnalytics())) { return; } try {