mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
fix response error return type
This commit is contained in:
parent
460200dfef
commit
8083482ba8
12 changed files with 23 additions and 25 deletions
|
|
@ -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.' });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue