Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/datacite/lupo
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 17, 2020
2 parents 792b23e + 39a2780 commit e9e7474
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ def self.subj_id_check(options = {})

Rails.logger.warn "[DoubleCheck] DoubleCheck #{response.results.results.length} events starting with _id #{response.results.to_a.first[:_id]}."
cursor = response.results.to_a.last[:sort]
Rails.logger.warn "[DoubleCheck] Cursor: #{cursor} "

events = response.results.results.map { |item| { uuid: item.uuid, subj_id: item.subj_id } }
SubjCheckJob.perform_later(events, options)
Expand Down

0 comments on commit e9e7474

Please sign in to comment.