Skip to content

Commit

Permalink
fix published date. #122
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 10, 2019
1 parent 79b9146 commit 3231416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/doi_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit 3231416

Please sign in to comment.