Skip to content

Commit

Permalink
chore: Changed the url query to oobUrl
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Lanser <[email protected]>
  • Loading branch information
Tommylans committed Nov 2, 2023
1 parent 3346151 commit 6283ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agent/src/parsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export async function tryParseDidCommInvitation(
): Promise<OutOfBandInvitation | null> {
try {
const parsedUrl = queryString.parseUrl(invitationUrl)
const updatedInvitationUrl = (parsedUrl['url'] as string | undefined) ?? invitationUrl
const updatedInvitationUrl = (parsedUrl['oobUrl'] as string | undefined) ?? invitationUrl

// Try to parse the invitation as an DIDComm invitation.
// We can't know for sure, as it could be a shortened URL to a DIDComm invitation.
Expand Down

0 comments on commit 6283ef9

Please sign in to comment.