small fix
This commit is contained in:
@@ -60,7 +60,7 @@ export default async (req, res) => {
|
|||||||
is_dynamic: Validator.boolean().default(false),
|
is_dynamic: Validator.boolean().default(false),
|
||||||
rule: Validator.object()
|
rule: Validator.object()
|
||||||
.keys({
|
.keys({
|
||||||
description: Validator.string().required(),
|
description: Validator.string().optional(),
|
||||||
type: Validator.string().required(),
|
type: Validator.string().required(),
|
||||||
value: Validator.number()
|
value: Validator.number()
|
||||||
.positive()
|
.positive()
|
||||||
|
|||||||
Reference in New Issue
Block a user