courses get and post

This commit is contained in:
Ben Ramey
2018-09-19 06:16:25 -05:00
parent d08bc9cb56
commit 07e4a27a1a
4 changed files with 37 additions and 17 deletions

View File

@@ -11,6 +11,5 @@ module.exports.default = async () => {
} catch (err) {
const statusCode = (err && err.statusCode) || 500;
return createResponse(statusCode, err.message || err);
}
}
};