Merge branch 'master' into release
This commit is contained in:
commit
f78ff4ac15
@ -15,7 +15,7 @@ const {
|
|||||||
r.use(async (c, n) => {
|
r.use(async (c, n) => {
|
||||||
c.obj = {}
|
c.obj = {}
|
||||||
c.db = await DB.connect()
|
c.db = await DB.connect()
|
||||||
c.chkBody = chkObject.bind({body: c.request.body})
|
c.chkBody = chkObject.bind(c.request)
|
||||||
try {
|
try {
|
||||||
await n()
|
await n()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user