From a95c40dd05af40434a86a7b03c475e4142dd3743 Mon Sep 17 00:00:00 2001 From: patrick-werner Date: Thu, 6 Oct 2022 16:34:29 +0200 Subject: [PATCH] fixed SubscriptionDebugLogInterceptor adding logic --- .../java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java b/src/main/java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java index 5ff3e69..19bba57 100644 --- a/src/main/java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java +++ b/src/main/java/ca/uhn/fhir/jpa/starter/common/StarterJpaConfig.java @@ -346,7 +346,7 @@ public class StarterJpaConfig { corsInterceptor.ifPresent(fhirServer::registerInterceptor); - if (appProperties.getSubscription() != null) { + if (daoConfig.getSupportedSubscriptionTypes().size() > 0) { // Subscription debug logging fhirServer.registerInterceptor(new SubscriptionDebugLogInterceptor()); }