This commit is contained in:
Panayiotis Savva
2023-01-16 03:35:30 +02:00
committed by Jens Kristian Villadsen
parent c7ee984b30
commit 99ea176a9c

View File

@@ -8,7 +8,7 @@ public class CrConfigCondition implements Condition {
@Override @Override
public boolean matches(ConditionContext theConditionContext, AnnotatedTypeMetadata theAnnotatedTypeMetadata) { public boolean matches(ConditionContext theConditionContext, AnnotatedTypeMetadata theAnnotatedTypeMetadata) {
String property = theConditionContext.getEnvironment().getProperty("hapi.fhir.cql_enabled"); String property = theConditionContext.getEnvironment().getProperty("hapi.fhir.cr_enabled");
return Boolean.parseBoolean(property); return Boolean.parseBoolean(property);
} }
} }