From 5e6140bcbd293e30e5a7250fe528d9eaaaefbb64 Mon Sep 17 00:00:00 2001 From: mspiekermann Date: Wed, 12 Jun 2024 21:37:45 +0200 Subject: [PATCH] fix missing parantheses in IdentityTrustTransformationExtension --- .../iam/identitytrust/core/IdentityTrustTransformExtension.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/common/iam/identity-trust/identity-trust-core/src/main/java/org/eclipse/edc/iam/identitytrust/core/IdentityTrustTransformExtension.java b/extensions/common/iam/identity-trust/identity-trust-core/src/main/java/org/eclipse/edc/iam/identitytrust/core/IdentityTrustTransformExtension.java index 7ca451acad2..bbaa77cd4b3 100644 --- a/extensions/common/iam/identity-trust/identity-trust-core/src/main/java/org/eclipse/edc/iam/identitytrust/core/IdentityTrustTransformExtension.java +++ b/extensions/common/iam/identity-trust/identity-trust-core/src/main/java/org/eclipse/edc/iam/identitytrust/core/IdentityTrustTransformExtension.java @@ -66,7 +66,7 @@ public void initialize(ServiceExtensionContext context) { .onFailure(failure -> context.getMonitor().warning("Failed to register cached json-ld document: " + failure.getFailureDetail())); getResourceUri("document" + File.separator + "dcp.v08.jsonld") - .onSuccess(uri -> jsonLdService.registerCachedDocumentDCP_CONTEXT_URL, uri)) + .onSuccess(uri -> jsonLdService.registerCachedDocument(DCP_CONTEXT_URL, uri)) .onFailure(failure -> context.getMonitor().warning("Failed to register cached json-ld document: " + failure.getFailureDetail())); typeTransformerRegistry.register(new JsonObjectToPresentationQueryTransformer(typeManager.getMapper(JSON_LD)));