fix: Fix New fields naming

This commit is contained in:
Khaled Garbaya
2017-10-17 11:59:09 +02:00
committed by Benedikt Rötsch
parent 418871c6cf
commit c6d12b4afd
9 changed files with 19 additions and 15 deletions

View File

@@ -8,7 +8,6 @@
exports.catchErrors = (fn) => {
return function (req, res, next) {
return fn(req, res, next).catch((e) => {
console.log(e)
next(e)
})
}