From 163c7ae4818bc457059b800c95978626ddced7c4 Mon Sep 17 00:00:00 2001 From: Daniel Bluhm Date: Tue, 9 Nov 2021 14:42:53 -0500 Subject: [PATCH] fix: create static doc use empty endpoint if None Signed-off-by: Daniel Bluhm --- aries_cloudagent/protocols/connections/v1_0/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aries_cloudagent/protocols/connections/v1_0/manager.py b/aries_cloudagent/protocols/connections/v1_0/manager.py index ed4c0c4401..c136c3a134 100644 --- a/aries_cloudagent/protocols/connections/v1_0/manager.py +++ b/aries_cloudagent/protocols/connections/v1_0/manager.py @@ -958,7 +958,7 @@ async def create_static_connection( did_doc = await self.create_did_document( their_info, None, - [their_endpoint], + [their_endpoint or ""], mediation_records=[base_mediation_record] if base_mediation_record else None,