From 69d7751671a5ab5289dc8686aacd16f299c6382f Mon Sep 17 00:00:00 2001 From: Matthew Hailstone Date: Fri, 2 Sep 2022 13:38:13 -0600 Subject: [PATCH] Fix issue #26 --- NEXT/io.picolabs.aca.connections.krl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEXT/io.picolabs.aca.connections.krl b/NEXT/io.picolabs.aca.connections.krl index b13c9d2..767f56d 100644 --- a/NEXT/io.picolabs.aca.connections.krl +++ b/NEXT/io.picolabs.aca.connections.krl @@ -162,7 +162,7 @@ ruleset io.picolabs.aca.connections { service = connection{["DIDDoc","service"]} .filter(function(x){ x{"type"}=="IndyAgent" - && x{"id"}.match(their_did+";indy") + && x{"id"}.match("^"+their_did) }).head() se = service{"serviceEndpoint"} their_rks = service{"routingKeys"}.defaultsTo([])