Skip to content

Commit 834c76f

Browse files
committed
fix: incorectly named variable
1 parent 870ef76 commit 834c76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/api/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default async function handler(req, res) {
7070
} catch (error) {
7171
console.error("Error fetching search data:", error);
7272
return res
73-
.status(StatusCodes.Inter)
73+
.status(StatusCodes.INTERNAL_SERVER_ERROR)
7474
.json({ error: ReasonPhrases.INTERNAL_SERVER_ERROR });
7575
}
7676
}

0 commit comments

Comments
 (0)