Skip to content

Commit

Permalink
site: add back legacy record serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Sep 15, 2023
1 parent a51e02f commit 268d5d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/zenodo_rdm/legacy/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
record_serializers = copy.deepcopy(default_record_serializers)
record_serializers.update(
{
# TODO: remove when https://github.com/zenodo/zenodo-rdm/issues/492 is fixed
# "application/json": ResponseHandler(LegacyJSONSerializer()),
"application/json": ResponseHandler(LegacyJSONSerializer()),
"application/vnd.zenodo.v1+json": ResponseHandler(ZenodoJSONSerializer()),
# Alias for the DataCite XML serializer
"application/x-datacite+xml": record_serializers[
Expand Down

0 comments on commit 268d5d8

Please sign in to comment.