Update serialsExelController.js

This commit is contained in:
Swift
2024-01-22 21:48:34 +03:30
parent ec533f721e
commit dd1aa005ac
@@ -49,7 +49,6 @@ module.exports.getAllExels = [
const type = req.query?.type
if (!type) {
res500(res, 'choose type')
console.log("dfd")
}
const validValues = ['guaranteeSerial', 'orginality']
if (!validValues.includes(type)) return res500(res, 'choose type')