New API responses with good errors
This commit is contained in:
@ -6,6 +6,7 @@ export default function apiWrapper(_options) {
|
||||
|
||||
ctx.body = {
|
||||
...ctx.body,
|
||||
status: ctx.status,
|
||||
ok,
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user