Skip to content

Commit

Permalink
tested on postman
Browse files Browse the repository at this point in the history
  • Loading branch information
sdagg9 committed Jun 11, 2024
1 parent f63c561 commit c9691a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/admin/admin-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ adminRouter.post(
async (req, res, next) => {
try {
const { eventId, qrCode } = ScanValidator.parse(req.body);
console.log("Event ID:", eventId);

if (!qrCode) {
return res
.status(StatusCodes.BAD_REQUEST)
Expand Down

0 comments on commit c9691a5

Please sign in to comment.