Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: F-Node-Karlsruhe <christian.fries@eecc.de>
  • Loading branch information
F-Node-Karlsruhe committed Nov 2, 2023
1 parent 05ccfbf commit 85e132a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/services/verifier/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function getPresentationStatus(presentation: VerifiablePresentation): Credential
});

// disallow multiple status types
if (new Set(statusTypes.flat(1)).size > 1) throw new Error('Currently only on status type is allowed within one presentation!');
if (new Set(statusTypes.flat(1)).size > 1) throw new Error('Currently only one status type is allowed within one presentation!');

return credentials[0].credentialStatus;

Expand Down

0 comments on commit 85e132a

Please sign in to comment.