Skip to content

Commit cead3a6

Browse files
committed
Fix init method
1 parent b3fbabd commit cead3a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/ca/uhn/fhir/jpa/starter/cdshooks/ModuleConfigurationPrefetchSvc.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ public ModuleConfigurationPrefetchSvc(
7474
CdsPrefetchDaoSvc theResourcePrefetchDao,
7575
CdsPrefetchFhirClientSvc theResourcePrefetchFhirClient,
7676
ICdsHooksDaoAuthorizationSvc theCdsHooksDaoAuthorizationSvc,
77+
FhirContext theFhirContext,
7778
IInterceptorBroadcaster theInterceptorBroadcaster) {
7879
super(
7980
theCdsResolutionStrategySvc,
8081
theResourcePrefetchDao,
8182
theResourcePrefetchFhirClient,
8283
theCdsHooksDaoAuthorizationSvc,
84+
theFhirContext,
8385
theInterceptorBroadcaster);
8486
myResourcePrefetchFhirClient = theResourcePrefetchFhirClient;
85-
fhirContext = theResourcePrefetchDao.getFhirContext();
87+
fhirContext = theFhirContext;
8688
}
8789

8890
@Override

0 commit comments

Comments
 (0)