Closed someApprentice closed 4 years ago
For now any async controller function is implemented through dirt fix.
async
const asyncHandler = fn => (req, res, next) => { return Promise .resolve(fn(req, res, next)) .catch(next); };
This is has to be done by Express build-in handler.
expressjs/express#2237
Closed due switch to PHP.
For now any
async
controller function is implemented through dirt fix.This is has to be done by Express build-in handler.
expressjs/express#2237