From 73c2c404cf63d97e32ccfe80d6da8a06ffb33a2a Mon Sep 17 00:00:00 2001 From: Alan Bridgeman Date: Tue, 24 Jun 2025 08:53:26 -0500 Subject: [PATCH] Added return to see if that stops timed out error --- src/decorators/Controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decorators/Controller.ts b/src/decorators/Controller.ts index fdc0eb7..6705734 100644 --- a/src/decorators/Controller.ts +++ b/src/decorators/Controller.ts @@ -80,7 +80,7 @@ export function Controller() // Bind the method to the class instance app.use((req, res, next) => { if(req.path === path && req.method === 'GET') { - fn.bind(controller)(req, res, next); + return fn.bind(controller)(req, res, next); } }); });