Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
yusukebe committed May 27, 2024
2 parents 692c321 + 3d21e8c commit 836a8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/jwt/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const jwt = (options: {
alg?: SignatureAlgorithm
}): MiddlewareHandler => {
if (!options || !options.secret) {
throw new Error('JWT auth middleware requires options for "secret')
throw new Error('JWT auth middleware requires options for "secret"')
}

if (!crypto.subtle || !crypto.subtle.importKey) {
Expand Down

0 comments on commit 836a8a8

Please sign in to comment.