New API responses with good errors

This commit is contained in:
Jori Lallo
2016-09-17 14:53:30 -07:00
parent e631025887
commit fcc83dd2d6
11 changed files with 86 additions and 50 deletions

View File

@ -6,6 +6,7 @@ export default function apiWrapper(_options) {
ctx.body = {
...ctx.body,
status: ctx.status,
ok,
};
};