Skip to content

Commit

Permalink
fixed get_validated_handle
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Mar 12, 2024
1 parent 645b9f0 commit a3411ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/didkit/resolver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def resolve_did_web(did)
def get_validated_handle(did_or_doc)
document = did_or_doc.is_a?(Document) ? did_or_doc : resolve_did(did_or_doc)

pick_valid_handle(document.handles, document.did)
pick_valid_handle(document.did, document.handles)
end

def pick_valid_handle(did, handles)
Expand Down

0 comments on commit a3411ad

Please sign in to comment.