fox body optional check for mods

This commit is contained in:
2023-03-12 14:14:47 +01:00
parent b84e17e7fa
commit 4d4fb92ab5
+1 -1
View File
@@ -76,7 +76,7 @@ router.post(
'victim_offhand_weapon_1', 'victim_offhand_weapon_1',
'victim_offhand_weapon_2' 'victim_offhand_weapon_2'
]) ])
.optional() .optional({ checkFalsy: true })
.toInt() .toInt()
.isInt() .isInt()
.withMessage('must be a valid int'), .withMessage('must be a valid int'),