api: remove export of old pieces justificatives

This commit is contained in:
Pierre de La Morinerie 2019-07-25 12:54:54 +00:00
parent e975fe4ade
commit f69f325236
8 changed files with 6 additions and 78 deletions

View file

@ -49,7 +49,6 @@ class ProcedureSerializer < ActiveModel::Serializer
end
def types_de_piece_justificative
ActiveModelSerializers::SerializableResource.new(object.types_de_piece_justificative).serializable_hash +
PiecesJustificativesService.serialize_types_de_champ_as_type_pj(object)
PiecesJustificativesService.serialize_types_de_champ_as_type_pj(object)
end
end