Skip to content

Commit

Permalink
fix: credential verify
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Jul 4, 2023
1 parent d681f32 commit f8bbf94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class CredentialController {
return false
})
.withMessage('Entry must be a jwt string or an credential'),
query('publish').isBoolean().withMessage('publish should be a boolean value')
query('publish').optional().isBoolean().withMessage('publish should be a boolean value')
]

public static presentationValidator = [
Expand Down

0 comments on commit f8bbf94

Please sign in to comment.