Skip to content

Commit

Permalink
fix: attr
Browse files Browse the repository at this point in the history
  • Loading branch information
janrtvld committed Nov 26, 2024
1 parent 103c491 commit 285eb43
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/easypid/src/use-cases/ValidateVerification.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const PLAYGROUND_URL = 'https://funke.animo.id'

export const EXCLUDED_ATTRIBUTES_FOR_ANALYSIS = ['Issuing Authority', 'Issuing Country', 'Issued at', 'Expires at']
export const EXCLUDED_ATTRIBUTES_FOR_ANALYSIS = ['Issuing authority', 'Issuing country', 'Issued at', 'Expires at']

export type VerificationAnalysisInput = {
verifier: {
Expand Down Expand Up @@ -38,8 +38,6 @@ export const analyzeVerification = async ({
requestedAttributes: card.requestedAttributes.filter((attr) => !EXCLUDED_ATTRIBUTES_FOR_ANALYSIS.includes(attr)),
}))

console.log('cardsWithoutExcludedAttributes', cardsWithoutExcludedAttributes)

const response = await fetch(`${PLAYGROUND_URL}/api/validate-verification-request`, {
method: 'POST',
headers: {
Expand Down

0 comments on commit 285eb43

Please sign in to comment.