fix/cancel-order (#120)
* fix: adds ability to cancel order * passing tests * chore: clean up unused code
This commit is contained in:
@@ -21,6 +21,9 @@ export default () => {
|
||||
break
|
||||
}
|
||||
|
||||
res.status(statusCode).json(err.message)
|
||||
res.status(statusCode).json({
|
||||
name: err.name,
|
||||
message: err.message,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user