Skip to content

Commit e88b67e

Browse files
authored
Merge pull request #3 from szy0syz/patch-1
Update README about Simple Example
2 parents 025b614 + a6caa59 commit e88b67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const app = new Koa()
2929
const authz = require('koa-authz')
3030

3131
// response
32-
app.use((ctx, next) => {
32+
app.use(async (ctx, next) => {
3333
const start = new Date()
3434
await next()
3535
console.log(new Date() - start)

0 commit comments

Comments
 (0)