Fix metricCollection

This commit is contained in:
Anthony Stirling 2024-10-22 15:36:22 +01:00 committed by GitHub
parent 532f7cdbbf
commit 949b87005c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ public class PostHogService {
}
private void captureSystemInfo() {
if (!Boolean.getBoolean(applicationProperties.getSystem().getEnableAnalytics())) {
if (!Boolean.parseBoolean(applicationProperties.getSystem().getEnableAnalytics())) {
return;
}
try {