Merge branch 'master' into release

This commit is contained in:
Jay 2018-08-17 23:03:24 +08:00
commit f78ff4ac15

View File

@ -15,7 +15,7 @@ const {
r.use(async (c, n) => {
c.obj = {}
c.db = await DB.connect()
c.chkBody = chkObject.bind({body: c.request.body})
c.chkBody = chkObject.bind(c.request)
try {
await n()
} catch (err) {