From 877bed101674dc549af9ae7c3c45cf4eeb91b4cc Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Tue, 6 Aug 2024 18:31:05 -0400 Subject: [PATCH] Fix enum error --- app/classes/controllers/users_controller.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/classes/controllers/users_controller.py b/app/classes/controllers/users_controller.py index 7abae8e0..24d63fc3 100644 --- a/app/classes/controllers/users_controller.py +++ b/app/classes/controllers/users_controller.py @@ -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": {