Skip to content

Commit

Permalink
fixed validation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Stalker2106x committed Sep 14, 2023
1 parent b63366b commit 7a94097
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions middlewares/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ module.exports = {
...(validationResult.body && { bodyError: validationResult.body.error.details }),
...(validationResult.query && { queryError: validationResult.query.error.details })
}))
return;
}
next()
}
}

0 comments on commit 7a94097

Please sign in to comment.