fixed SubscriptionDebugLogInterceptor adding logic

This commit is contained in:
patrick-werner
2022-10-06 16:34:29 +02:00
committed by Jens Kristian Villadsen
parent 7a72c86a63
commit a95c40dd05

View File

@@ -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());
}