Skip to content

Commit

Permalink
trigger indexing when handle record is backfilled
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 6, 2018
1 parent ebf5611 commit f59f103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/helpable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def register_url

if [200, 201].include?(response.status)
# update minted column after first successful registration in handle system
self.update_columns(minted: Time.zone.now, updated: Time.zone.now) if minted.blank?
self.update_attributes(minted: Time.zone.now, updated: Time.zone.now) if minted.blank?
logger.info "[Handle] URL for DOI " + doi + " updated to " + url + "."

response
Expand Down

0 comments on commit f59f103

Please sign in to comment.