Skip to content

Commit 5268838

Browse files
committed
chore: fix format
1 parent 550f472 commit 5268838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/upload.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export const upload = new Elysia().use(userService).post(
2525
if (body?.file) {
2626
if (Array.isArray(body.file)) {
2727
for (const file of body.file) {
28-
const santizedFileName = sanitize(file.name)
28+
const santizedFileName = sanitize(file.name);
2929
await Bun.write(`${userUploadsDir}${santizedFileName}`, file);
3030
}
3131
} else {
32-
const santizedFileName = sanitize(body.file["name"])
32+
const santizedFileName = sanitize(body.file["name"]);
3333
await Bun.write(`${userUploadsDir}${santizedFileName}`, body.file);
3434
}
3535
}

0 commit comments

Comments
 (0)