fix response error return type
This commit is contained in:
1 parent
460200dfef
commit
8083482ba8
12 files changed
+23
-25
No files matched your search
@@ -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.' });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user