Merge branch 'master' into release
This commit is contained in:
commit
f78ff4ac15
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user