diff --git a/funkwhale_network/schemas.py b/funkwhale_network/schemas.py index 1878e3cabb211b7d55f99e0d8a676af424ae35dd..ec95805a071e4498790fdf34601abd75bf9afc01 100644 --- a/funkwhale_network/schemas.py +++ b/funkwhale_network/schemas.py @@ -113,7 +113,7 @@ class MetadataSchema(marshmallow.Schema): nodeName = marshmallow.fields.String(required=True) private = marshmallow.fields.Boolean(required=True) library = marshmallow.fields.Nested(LibraryMetadataSchema, required=True) - usage = marshmallow.fields.Nested(MetadataUsageSchema, required=False) + usage = marshmallow.fields.Nested(MetadataUsageSchema, required=False, allow_none=True) class Meta: unknown = marshmallow.EXCLUDE