fix/cancel-order (#120)

* fix: adds ability to cancel order

* passing tests

* chore: clean up unused code
This commit is contained in:
Sebastian Rindom
2020-10-06 14:00:47 +02:00
committed by GitHub
parent 4bbb2a2367
commit 11bedf8c6f
29 changed files with 240 additions and 97 deletions
@@ -21,6 +21,9 @@ export default () => {
break
}
res.status(statusCode).json(err.message)
res.status(statusCode).json({
name: err.name,
message: err.message,
})
}
}