Skip to content

Commit

Permalink
fix(dapp): og issuer display on education credential (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudobun authored May 14, 2024
1 parent 18cd66e commit c0f9165
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/dapp/src/app/api/og/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ export async function GET(req: NextRequest) {
fontWeight: 'normal',
}}
>
{formatDid(credentialIssuer)}
{credentialType.includes('Education Credential')
? credentialIssuer
: formatDid(credentialIssuer)}
</div>
<div tw="text-md text-orange-100 mt-4">ACHIEVED</div>
<div
Expand Down Expand Up @@ -219,7 +221,9 @@ export async function GET(req: NextRequest) {
fontWeight: 'normal',
}}
>
{formatDid(credentialIssuer)}
{credentialType.includes('Education Credential')
? credentialIssuer
: formatDid(credentialIssuer)}
</div>
<div tw="text-md text-orange-100 mt-4">ISSUED TO</div>
<div
Expand Down

0 comments on commit c0f9165

Please sign in to comment.