From 057be427fe1a63a2c902b86098b556e4c48f5804 Mon Sep 17 00:00:00 2001 From: Romain Lanz <2793951+RomainLanz@users.noreply.github.com> Date: Sun, 27 Oct 2024 19:33:37 +0100 Subject: [PATCH] refactor(adonisjs): remove unneeded async function (#355) --- benchmarks/adonisjs.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/adonisjs.mjs b/benchmarks/adonisjs.mjs index 9780f464..c7a6a479 100644 --- a/benchmarks/adonisjs.mjs +++ b/benchmarks/adonisjs.mjs @@ -22,7 +22,7 @@ const server = new Server( defineConfig({}) ) -server.getRouter().get('/', async (ctx) => { +server.getRouter().get('/', (ctx) => { return ctx.response.send({ hello: 'world' }) })