Skip to content

Commit

Permalink
Don’t pass response to missing handler
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Jul 6, 2024
1 parent f4d79f0 commit d7a2046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const AutoRouter = <
catch: error,
finally: [
// @ts-ignore
(r: any, ...args) => r ?? missing(r, ...args),
(r: any, ...args) => r ?? missing(...args),
format,
...f,
],
Expand Down

0 comments on commit d7a2046

Please sign in to comment.