diff --git a/app/serializers/doi_serializer.rb b/app/serializers/doi_serializer.rb index 26b458056..58369cbc5 100644 --- a/app/serializers/doi_serializer.rb +++ b/app/serializers/doi_serializer.rb @@ -28,7 +28,7 @@ class DoiSerializer end attribute :published do |object| - object.respond_to?(:published) ? :published : nil + object.respond_to?(:published) ? object.published : nil end attribute :is_active do |object|