diff --git a/deno.json b/deno.json index 9c8e35ef..4f6c1a6d 100644 --- a/deno.json +++ b/deno.json @@ -8,7 +8,7 @@ "db:migrate": "deno run --allow-read --allow-env --allow-net --unstable-kv tasks/db_migrate.ts", "db:reset": "deno run --allow-read --allow-env --unstable-kv tasks/db_reset.ts", "start": "deno run --unstable-kv -A --watch=static/,routes/ --env dev.ts", - "test": "DENO_KV_PATH=:memory: deno test -A --parallel --unstable-kv --coverage", + "test": "DENO_KV_PATH=:memory: deno test -A --parallel --unstable-kv --coverage --env", "check:license": "deno run --allow-read --allow-write tasks/check_license.ts", "check:types": "deno check **/*.ts && deno check **/*.tsx", "ok": "deno fmt --check && deno lint && deno task check:license --check && deno task check:types && deno task test", diff --git a/plugins/kv_oauth.ts b/plugins/kv_oauth.ts index 9250ea3f..3c0e3a66 100644 --- a/plugins/kv_oauth.ts +++ b/plugins/kv_oauth.ts @@ -61,7 +61,7 @@ export default { }, { path: "/signout", - handler: signOut, + handler: async (req) => await signOut(req), }, ], } as Plugin;