Skip to content
Myr

fix(middleware/jwt): typo (#2789)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 김의진 · committed by GitHub · parent f7db0b1 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:deno_dist/middleware/jwt/index.ts+1 added-1 removed
modified:src/middleware/jwt/index.ts+1 added-1 removed
17 unmodified lines
18 cookie?: string19 alg?: SignatureAlgorithm20}): MiddlewareHandler => {21 if (!options || !options.secret) {22 throw new Error('JWT auth middleware requires options for "secret')22 throw new Error('JWT auth middleware requires options for "secret"')23 }2425 if (!crypto.subtle || !crypto.subtle.importKey) {26 throw new Error('`crypto.subtle.importKey` is undefined. JWT auth middleware requires it.')
80 unmodified lines