From e6328dbcae721398584a21563b23239750b09e78 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Tue, 11 May 2021 10:53:36 -0400 Subject: [PATCH] Reflect move in comparison --- .../rest/server/interceptor/consent/ConsentInterceptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/consent/ConsentInterceptor.java b/hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/consent/ConsentInterceptor.java index a3401dc8e59..536636952cc 100644 --- a/hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/consent/ConsentInterceptor.java +++ b/hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/consent/ConsentInterceptor.java @@ -45,6 +45,7 @@ import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import static ca.uhn.fhir.rest.api.Constants.URL_TOKEN_METADATA; +import static ca.uhn.fhir.rest.server.provider.ProviderConstants.OPERATION_META; @Interceptor public class ConsentInterceptor { @@ -350,7 +351,7 @@ public class ConsentInterceptor { } private boolean isMetaOperation(RequestDetails theRequestDetails) { - return META_OPERATION_NAME.equals(theRequestDetails.getOperation()); + return OPERATION_META.equals(theRequestDetails.getOperation()); } private boolean isMetadataPath(RequestDetails theRequestDetails) {