fix response error return type

This commit is contained in:
Francis Cao 2025-09-15 10:18:28 -07:00
parent 460200dfef
commit 8083482ba8
12 changed files with 23 additions and 25 deletions

View file

@ -103,7 +103,7 @@ export async function POST(request: Request) {
const website = await fetchWebsite(websiteId);
if (!website) {
return badRequest('Website not found.');
return badRequest({ message: 'Website not found.' });
}
}
}