Switch to vercel's biome setup (#543)
This commit is contained in:
parent
b8643353c0
commit
43aa1c6e58
52 changed files with 414 additions and 201 deletions
|
|
@ -16,7 +16,7 @@ const FileSchema = z.object({
|
|||
['image/jpeg', 'image/png', 'application/pdf'].includes(file.type),
|
||||
{
|
||||
message: 'File type should be JPEG, PNG, or PDF',
|
||||
}
|
||||
},
|
||||
),
|
||||
});
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ export async function POST(request: Request) {
|
|||
} catch (error) {
|
||||
return NextResponse.json(
|
||||
{ error: 'Failed to process request' },
|
||||
{ status: 500 }
|
||||
{ status: 500 },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue