Skip to content

Commit

Permalink
fix: fixed proof request issue (#2115)
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 authored Aug 6, 2024
1 parent e6d57f0 commit 2a015d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/services/attestation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const isProofRequestingAttestation = async (
agent: BifoldAgent,
restrictions: AttestationRestrictionsType
): Promise<boolean> => {
return invitationUrlFromRestrictions(proof, agent, restrictions) !== undefined
return (await invitationUrlFromRestrictions(proof, agent, restrictions)) !== undefined
}

export const allCredDefIds = (restrictions: AttestationRestrictionsType): string[] => {
Expand Down

0 comments on commit 2a015d8

Please sign in to comment.