Skip to content

Commit

Permalink
fix: add missing next() call in default protectHandler #178
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Jun 22, 2024
1 parent 3d11578 commit 36f371c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const honoServiceV1ConfigSchema = z.object({
enableHealth: z.boolean().optional().default(true),
healthPath: z.string().optional().default('/healthz'),
healthFunction: z.any().default(function () {}),
protectHandler: z.any().default(function () {}),
protectHandler: z.any().default(async function (_c:any,next:any) {await next()}),
services: z.array(z.instanceof(Service)).optional().default([]),
traceHeaderField: z.string().default('x-trace-id'),
openApi: z
Expand Down

0 comments on commit 36f371c

Please sign in to comment.