docs: Add detail to Deno KV auth example (#1665)

This commit is contained in:
Josh Gum
2023-09-03 21:54:12 +00:00
committed by GitHub
parent f9ab05f7ea
commit 3858f5ad03
10 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ interface State {
export async function handler(
req: Request,
ctx: MiddlewareHandlerContext<State>
ctx: MiddlewareHandlerContext<State>,
) {
ctx.state.data = "myData";
const resp = await ctx.next();