diff --git a/src/decorators/Controller.ts b/src/decorators/Controller.ts index 9e30616..4b41beb 100644 --- a/src/decorators/Controller.ts +++ b/src/decorators/Controller.ts @@ -84,7 +84,7 @@ export function Controller() console.log('[Controller.setup.] Next:', next); try { - fn.bind(controller)(req, res, next) + Promise.all([fn.bind(controller)(req, res, next)]) .catch((error) => { throw new Error(error) }); } catch(error) {