Added return to see if that stops timed out error
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 32s

This commit is contained in:
Alan Bridgeman 2025-06-24 08:53:26 -05:00
parent c67cbb877d
commit 73c2c404cf

View file

@ -80,7 +80,7 @@ export function Controller<T extends { new (...args: any[]): BaseController }>()
// Bind the method to the class instance // Bind the method to the class instance
app.use((req, res, next) => { app.use((req, res, next) => {
if(req.path === path && req.method === 'GET') { if(req.path === path && req.method === 'GET') {
fn.bind(controller)(req, res, next); return fn.bind(controller)(req, res, next);
} }
}); });
}); });