--amend
This commit is contained in:
@@ -67,7 +67,9 @@ export default async (req, res) => {
|
||||
usage_limit: Validator.number()
|
||||
.positive()
|
||||
.optional(),
|
||||
usage_count: Validator.number().optional(),
|
||||
usage_count: Validator.number()
|
||||
.positive()
|
||||
.optional(),
|
||||
})
|
||||
.required(),
|
||||
is_disabled: Validator.boolean().default(false),
|
||||
|
||||
Reference in New Issue
Block a user