small fix

This commit is contained in:
olivermrbl
2021-03-29 12:29:35 +02:00
parent 3b801e7486
commit 01f184b9b0

View File

@@ -60,7 +60,7 @@ export default async (req, res) => {
is_dynamic: Validator.boolean().default(false),
rule: Validator.object()
.keys({
description: Validator.string().required(),
description: Validator.string().optional(),
type: Validator.string().required(),
value: Validator.number()
.positive()