Skip to content

Commit

Permalink
send doi object
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 25, 2018
1 parent e569bdb commit 399e984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ def update_url
return nil if current_user.nil? || !is_registered_or_findable?

if %w(europ ethz).include?(provider_id) || %w(Crossref).include?(agency)
UrlJob.perform_later(doi)
UrlJob.perform_later(self)
else
HandleJob.perform_later(doi)
end
Expand Down

0 comments on commit 399e984

Please sign in to comment.