Skip to content

Commit

Permalink
Format sample node app
Browse files Browse the repository at this point in the history
  • Loading branch information
brettimus committed Sep 1, 2024
1 parent c161748 commit 85e9f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node-api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ app.get("/", (c) => {
return c.text("Hello Hono!");
});

app.post("/json", async(c) => {
app.post("/json", async (c) => {
const body = await c.req.json();
console.log("json body", body);
return c.json({ message: "Hello Json!", body });
Expand Down

0 comments on commit 85e9f96

Please sign in to comment.