We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea14d5 commit 3922f88Copy full SHA for 3922f88
functions/package.json
@@ -27,7 +27,7 @@
27
"eslint-config-prettier": "^10.1.1",
28
"eslint-plugin-sonarjs": "^3.0.2",
29
"prettier": "^3.5.3",
30
- "typescript": "5.8.3"
+ "typescript": "5.9.3"
31
},
32
"private": true
33
}
functions/src/functions/server/hono.ts
@@ -20,7 +20,7 @@ const handle = (app: Hono<any>) => {
20
: new Request(url, {
21
headers,
22
method: req.method,
23
- body: Buffer.from(typeof body === "string" ? body : JSON.stringify(body || {})),
+ body: typeof body === "string" ? body : JSON.stringify(body || {}),
24
});
25
const res = await app.fetch(newRequest);
26
resp.json(await res.json());
0 commit comments