Skip to content

Commit

Permalink
Merge pull request #151 from eatski/dev
Browse files Browse the repository at this point in the history
miss
  • Loading branch information
eatski authored Apr 8, 2024
2 parents f4fe0e3 + 1d9488a commit 3cdea1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/batch/questionLog/refine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const handler: NextApiHandler = async (req, res) => {
return;
}
const take = Number(req.query.take);
if (!isNaN(take)) {
if (isNaN(take)) {
res.status(400).json({ message: "Invalid take" });
return;
}
Expand Down

0 comments on commit 3cdea1c

Please sign in to comment.