Skip to content

Commit

Permalink
Merge pull request #59 from akunzai/fix-typo
Browse files Browse the repository at this point in the history
Fix typo of Credential
  • Loading branch information
JHong-Hsu authored Aug 14, 2024
2 parents c5a5ac6 + bce5cc5 commit 44916b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/sample-verifier/src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ enum VerificationResult {
Pending = 'Pending',
}

function createSemaphoreCrdentialContent(
function createSemaphoreCredentialContent(
issuer: string,
members: string[]
): CredentialPayload {
Expand Down Expand Up @@ -140,7 +140,7 @@ export function App() {
let verifiableCredential: VerifiableCredential;
try {
verifiableCredential = await agent.createVerifiableCredential({
credential: createSemaphoreCrdentialContent(
credential: createSemaphoreCredentialContent(
holder.did,
commitments.activated
),
Expand All @@ -159,7 +159,7 @@ export function App() {
} catch (e) {
// the identity is not in the group, try revoked group
verifiableCredential = await agent.createVerifiableCredential({
credential: createSemaphoreCrdentialContent(
credential: createSemaphoreCredentialContent(
holder.did,
commitments.revoked
),
Expand Down

0 comments on commit 44916b1

Please sign in to comment.