Skip to content

Commit

Permalink
Adjust example
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Jan 23, 2025
1 parent 69bd801 commit 031cc90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acapy_agent/messaging/valid.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ def __init__(self):
class IndyDID(Regexp):
"""Validate value against indy DID."""

EXAMPLE = "did:sov:WgWxqztrNooG92RXvxSTWv"
PATTERN = re.compile(rf"^(did:(sov|indy):)?[{B58}]{{21,22}}$")
EXAMPLE = "did:indy:sovrin:WRfXPg8dantKVubE3HX8pw"
PATTERN = re.compile(rf"^(did:indy:)?[{B58}]{{21,22}}$")

def __init__(self):
"""Initialize the instance."""
Expand Down

0 comments on commit 031cc90

Please sign in to comment.