diff --git a/lib/bun_wrapper.js b/lib/bun_wrapper.js index 555c41da..edc82a3a 100644 --- a/lib/bun_wrapper.js +++ b/lib/bun_wrapper.js @@ -44,7 +44,8 @@ const wrapper = (handler, parsers) => { raw: stream, log: log, params: ctx.params || {}, - query: {} + query: {}, + method: ctx.method } for (const [key, value] of (new URL(ctx.url)).searchParams) { if (!(key in req.query)) {