mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: variant weights can be up to 1000
This commit is contained in:
parent
a8a3a44b8d
commit
9e79d70060
@ -25,7 +25,7 @@ const variantsSchema = joi.object().keys({
|
|||||||
weight: joi
|
weight: joi
|
||||||
.number()
|
.number()
|
||||||
.min(0)
|
.min(0)
|
||||||
.max(100)
|
.max(1000)
|
||||||
.required(),
|
.required(),
|
||||||
payload: joi
|
payload: joi
|
||||||
.object()
|
.object()
|
||||||
|
Loading…
Reference in New Issue
Block a user