feat(routes): fix typo, closes #692
This commit is contained in:
parent
27286465a3
commit
310c8a75fd
7 changed files with 14 additions and 14 deletions
|
|
@ -295,9 +295,9 @@ export const POST = async (req: Request) => {
|
|||
},
|
||||
});
|
||||
} catch (err) {
|
||||
console.error('An error ocurred while processing chat request:', err);
|
||||
console.error('An error occurred while processing chat request:', err);
|
||||
return Response.json(
|
||||
{ message: 'An error ocurred while processing chat request' },
|
||||
{ message: 'An error occurred while processing chat request' },
|
||||
{ status: 500 },
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue