Update src/main/java/ca/uhn/fhir/jpa/starter/BaseJpaRestfulServer.java
Co-authored-by: Kevin Dougan SmileCDR <72025369+KevinDougan-SmileCDR@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
41ba07a5e5
commit
a026b1f390
@@ -320,7 +320,7 @@ public class BaseJpaRestfulServer extends RestfulServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Binary Storage
|
// Binary Storage
|
||||||
if (appProperties.getBinary_storage_enabled()) {
|
if (appProperties.getBinary_storage_enabled() && binaryAccessProvider.isPresent()) {
|
||||||
registerProvider(binaryAccessProvider.get());
|
registerProvider(binaryAccessProvider.get());
|
||||||
getInterceptorService().registerInterceptor(binaryStorageInterceptor);
|
getInterceptorService().registerInterceptor(binaryStorageInterceptor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user