Skip to content

Commit f217b9c

Browse files
committed
chore: Fix formatting
1 parent 7f11fe5 commit f217b9c

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,15 @@ Here's an example:
217217
import { createApp } from "@aklinker1/zeta";
218218
import { UploadFilesBody } from "@aklinker1/zeta/schema";
219219

220-
const app = createApp().post("/upload", {
221-
body: UploadFilesBody,
222-
}, ({ body }) => {
223-
console.log(body); // File[]
224-
});
220+
const app = createApp().post(
221+
"/upload",
222+
{
223+
body: UploadFilesBody,
224+
},
225+
({ body }) => {
226+
console.log(body); // File[]
227+
},
228+
);
225229
```
226230

227231
For all the body utils, just pass them to the `body` property and inside the route handler, the `body` variable will be typed accordingly.

0 commit comments

Comments
 (0)