Skip to content

Commit

Permalink
Update universal resolver response handling
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Nov 25, 2024
1 parent 2d4212a commit 75ca4c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions acapy_agent/resolver/default/universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,4 @@ async def _fetch_resolver_props(self) -> dict:

async def _get_supported_did_regex(self) -> Pattern:
props = await self._fetch_resolver_props()
return _compile_supported_did_regex(
driver["http"]["pattern"] for driver in props.values()
)
return _compile_supported_did_regex(driver for driver in props.keys())

0 comments on commit 75ca4c9

Please sign in to comment.