From d4865f02ec843130870dfa24415ce911ca7e0c48 Mon Sep 17 00:00:00 2001 From: Bruce Conrad Date: Mon, 5 Sep 2022 09:10:27 -0600 Subject: [PATCH] Fix issue #26 --- krl/io.picolabs.aca.connections.krl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krl/io.picolabs.aca.connections.krl b/krl/io.picolabs.aca.connections.krl index b937bd0..f0013f5 100644 --- a/krl/io.picolabs.aca.connections.krl +++ b/krl/io.picolabs.aca.connections.krl @@ -125,7 +125,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([])