Skip to content

Commit

Permalink
refactor(adonisjs): remove unneeded async function (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz authored Oct 27, 2024
1 parent 756c223 commit 057be42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/adonisjs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const server = new Server(
defineConfig({})
)

server.getRouter().get('/', async (ctx) => {
server.getRouter().get('/', (ctx) => {
return ctx.response.send({ hello: 'world' })
})

Expand Down

0 comments on commit 057be42

Please sign in to comment.