diff --git a/site/zenodo_rdm/legacy/serializers/schemas/legacyjson.py b/site/zenodo_rdm/legacy/serializers/schemas/legacyjson.py index 4b2651d1..acfa3f31 100644 --- a/site/zenodo_rdm/legacy/serializers/schemas/legacyjson.py +++ b/site/zenodo_rdm/legacy/serializers/schemas/legacyjson.py @@ -154,7 +154,7 @@ def dump_files(self, obj): "links": links, } ) - return result or missing + return result @pre_dump def hook_metadata(self, data, **kwargs):