From f7d93bd68c02e923f441689a0255400f98eb7687 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Mon, 24 Feb 2020 21:28:47 -0500 Subject: [PATCH] !fixup account serializer --- keyosk/serializers/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyosk/serializers/account.py b/keyosk/serializers/account.py index 5699ac6..9d063ef 100644 --- a/keyosk/serializers/account.py +++ b/keyosk/serializers/account.py @@ -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)