mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix enum error
This commit is contained in:
parent
8b39ba5549
commit
877bed1016
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user