Init Commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module.exports = (fn) => {
|
||||
return (req, res, next) => {
|
||||
fn(req, res, next).catch(next)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user