We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fe3b0e + 89d4078 commit 78a0285Copy full SHA for 78a0285
1 file changed
src/pages/api/recommend.js
@@ -65,7 +65,7 @@ export default async function handler(req, res) {
65
} catch (error) {
66
console.error("Error fetching search data:", error);
67
return res
68
- .status(StatusCodes.Inter)
+ .status(StatusCodes.INTERNAL_SERVER_ERROR)
69
.json({ error: ReasonPhrases.INTERNAL_SERVER_ERROR });
70
}
71
0 commit comments