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([])