Skip to content

Commit

Permalink
Update src/services/admin/admin-router.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Divya Koya <[email protected]>
  • Loading branch information
sdagg9 and divyack2 authored Jun 10, 2024
1 parent 47cc597 commit f23249b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/admin/admin-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ adminRouter.post(
try {
const { qrCode } = req.body;
if (!qrCode) {
console.log("made it to if");

Check failure on line 20 in src/services/admin/admin-router.ts

View workflow job for this annotation

GitHub Actions / lint

Delete `⏎················`
return res
.status(StatusCodes.BAD_REQUEST)
.json({ error: "QR code is required" });
Expand Down

0 comments on commit f23249b

Please sign in to comment.