Skip to content

Commit

Permalink
fix delegation error. #213. Fixes LUPO-6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 10, 2019
1 parent 4c56078 commit 69cb1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def as_indexed_json(options={})
"request_uuid" => request_uuid,
"changes" => changes,
"created" => created,
"doi" => doi.as_indexed_json
"doi" => doi.present? ? doi.as_indexed_json : nil
}
end

Expand Down

0 comments on commit 69cb1d6

Please sign in to comment.