Added return to see if that stops timed out error
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 32s
All checks were successful
Publish to Private NPM Registry / publish (push) Successful in 32s
This commit is contained in:
parent
c67cbb877d
commit
73c2c404cf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue