Skip to content

Commit c55bcfc

Browse files
committed
Prettier fixes
1 parent d920f4f commit c55bcfc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

apps/api/src/media/handlers.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ export async function uploadMedia(
4646

4747
const allowedFileSize = getMaxFileUploadSize(req);
4848
if (req.files.file.size > allowedFileSize) {
49-
return res
50-
.status(400)
51-
.json({
52-
error: `${FILE_SIZE_EXCEEDED}. Allowed: ${allowedFileSize} bytes`,
53-
});
49+
return res.status(400).json({
50+
error: `${FILE_SIZE_EXCEEDED}. Allowed: ${allowedFileSize} bytes`,
51+
});
5452
}
5553

5654
const { error } = validateUploadOptions(req);

0 commit comments

Comments
 (0)