Bind bpiTarget between 0 and 100

This commit is contained in:
zkldi
2022-01-21 14:59:57 +00:00
parent 5dc4c43e92
commit fbdf9489dc
@@ -53,6 +53,7 @@ router.patch(
if (game === "iidx") {
schema = {
display2DXTra: "boolean",
bpiTarget: p.isBoundedInteger(0, 100),
};
}
// A limitation in prudence means that validating top-level properties like this isn't