You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ deno run --allow-all --unstable index.ts
error: Uncaught (in promise) DataError: invalid key data
at Object.opSync (deno:core/01_core.js:149:12)
at importKeyHMAC (deno:ext/crypto/00_crypto.js:2204:34)
at SubtleCrypto.importKey (deno:ext/crypto/00_crypto.js:883:18)
at file:///home/ettinger/www/grazily/grazily-api/src/middleware/jwt.ts:3:33
I got an error with this line: { request, response, state }: RouterContext, so I changed it to: { request, response, state }: RouterContext<any, any, any>, and now it crashes.
here's the offending code:
I got an error with this line:
{ request, response, state }: RouterContext,
so I changed it to:{ request, response, state }: RouterContext<any, any, any>,
and now it crashes.The text was updated successfully, but these errors were encountered: