Skip to content

Commit 3922f88

Browse files
committed
update
1 parent 0ea14d5 commit 3922f88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"eslint-config-prettier": "^10.1.1",
2828
"eslint-plugin-sonarjs": "^3.0.2",
2929
"prettier": "^3.5.3",
30-
"typescript": "5.8.3"
30+
"typescript": "5.9.3"
3131
},
3232
"private": true
3333
}

functions/src/functions/server/hono.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const handle = (app: Hono<any>) => {
2020
: new Request(url, {
2121
headers,
2222
method: req.method,
23-
body: Buffer.from(typeof body === "string" ? body : JSON.stringify(body || {})),
23+
body: typeof body === "string" ? body : JSON.stringify(body || {}),
2424
});
2525
const res = await app.fetch(newRequest);
2626
resp.json(await res.json());

0 commit comments

Comments
 (0)