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
|
permission.name
|
||||||
for permission in PermissionsCrafty.get_permissions_list()
|
for permission in PermissionsCrafty.get_permissions_list()
|
||||||
],
|
],
|
||||||
|
"error": "enumErr",
|
||||||
|
"fill": True,
|
||||||
},
|
},
|
||||||
"quantity": {"type": "number", "minimum": -1, "error": "typeInteger"},
|
"quantity": {
|
||||||
"enabled": {"type": "boolean", "error": "typeBool"},
|
"type": "number",
|
||||||
|
"minimum": -1,
|
||||||
|
"error": "typeInteger",
|
||||||
|
"fill": True,
|
||||||
|
},
|
||||||
|
"enabled": {"type": "boolean", "error": "typeBool", "fill": True},
|
||||||
}
|
}
|
||||||
self.user_jsonschema_props: t.Final = {
|
self.user_jsonschema_props: t.Final = {
|
||||||
"username": {
|
"username": {
|
||||||
|
Loading…
Reference in New Issue
Block a user