diff --git a/src/Controller.ts b/src/Controller.ts index 93934c3..242eec8 100644 --- a/src/Controller.ts +++ b/src/Controller.ts @@ -75,7 +75,7 @@ export default abstract class Controller { } protected use(handler: RequestHandler): void { - this.router.use(handler); + this.router.use(this.wrap(handler)); } protected get(