From 399e9849135e151f67f7396fe63b986e6c2df802 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 25 Dec 2018 10:31:45 +0100 Subject: [PATCH] send doi object --- app/models/doi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/doi.rb b/app/models/doi.rb index 5bed48ed4..4e0d9d63a 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -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