Skip to content

Commit

Permalink
Initialize my_endpoints with my_endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Laurence de Jong <[email protected]>
  • Loading branch information
ldej committed Sep 10, 2020
1 parent 25b7a9c commit 98a12ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aries_cloudagent/protocols/connections/v1_0/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ async def create_response(
if default_endpoint:
my_endpoints.append(default_endpoint)
my_endpoints.extend(self.context.settings.get("additional_endpoints", []))
else:
my_endpoints = [my_endpoint]
did_doc = await self.create_did_document(
my_info, connection.inbound_connection_id, my_endpoints
)
Expand Down

0 comments on commit 98a12ad

Please sign in to comment.