From 419beae7ca46ad92a96c8487641171b6d4eada19 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Tue, 13 Dec 2022 13:06:35 +0100 Subject: [PATCH] Add resource to run context --- .../main/java/org/oneedtech/inspect/vc/EndorsementInspector.java | 1 + 1 file changed, 1 insertion(+) diff --git a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/EndorsementInspector.java b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/EndorsementInspector.java index e21b34f..053b08f 100644 --- a/inspector-vc/src/main/java/org/oneedtech/inspect/vc/EndorsementInspector.java +++ b/inspector-vc/src/main/java/org/oneedtech/inspect/vc/EndorsementInspector.java @@ -67,6 +67,7 @@ public class EndorsementInspector extends VCInspector implements SubInspector { RunContext ctx = new RunContext.Builder() .put(this) + .put(resource) .put(JACKSON_OBJECTMAPPER, mapper) .put(JSONPATH_EVALUATOR, jsonPath) .build();