fox body optional check for mods
This commit is contained in:
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user