Skip to content

Commit

Permalink
fix: pin -> transaction code
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Nov 28, 2024
1 parent 1011682 commit 3d9f04d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"scripts": {
"build": "tsc -p tsconfig.json",
"start": "node dist/server.js",
"dev": "tsx watch -r dotenv/config src/server.ts dotenv_config_path=.env.development dotenv_config_path=.env"
"dev": "tsx watch -r dotenv/config src/server.ts dotenv_config_path=.env.development"
},
"pnpm": {
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion agent/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ apiRouter.get('/issuer', async (_, response: Response) => {
const data = issuersCredentialsData[id as keyof typeof issuersCredentialsData]
const authorizationLabel =
data.authorization.type === 'pin'
? 'Requires PIN'
? 'Requires transaction code'
: data.authorization.type === 'browser'
? 'Requires Sign In'
: data.authorization.type === 'presentation'
Expand Down

0 comments on commit 3d9f04d

Please sign in to comment.