mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-05 06:07:06 +00:00
!fixup account serializer
This commit is contained in:
parent
ac893d9707
commit
f7d93bd68c
@ -15,7 +15,7 @@ class AccountSerializer(msh.Schema):
|
||||
enabled = msh.fields.Boolean(required=True)
|
||||
extras = msh.fields.Dict(
|
||||
keys=msh.fields.String(),
|
||||
values=custom_fields.RawMultiType([int, float, bool, str, None]),
|
||||
values=custom_fields.RawMultiType([int, float, bool, str], allow_none=True),
|
||||
required=True,
|
||||
)
|
||||
acls = msh.fields.List(msh.fields.Nested(AccountACLSerializer), required=True)
|
||||
|
Loading…
Reference in New Issue
Block a user