Fix enum error

This commit is contained in:
amcmanu3 2024-08-06 18:31:05 -04:00
parent 8b39ba5549
commit 877bed1016

View File

@ -37,9 +37,16 @@ class UsersController:
permission.name
for permission in PermissionsCrafty.get_permissions_list()
],
"error": "enumErr",
"fill": True,
},
"quantity": {"type": "number", "minimum": -1, "error": "typeInteger"},
"enabled": {"type": "boolean", "error": "typeBool"},
"quantity": {
"type": "number",
"minimum": -1,
"error": "typeInteger",
"fill": True,
},
"enabled": {"type": "boolean", "error": "typeBool", "fill": True},
}
self.user_jsonschema_props: t.Final = {
"username": {