diff --git a/app/models/concerns/indexable.rb b/app/models/concerns/indexable.rb index 53e4433ee..3931ba7f0 100644 --- a/app/models/concerns/indexable.rb +++ b/app/models/concerns/indexable.rb @@ -9,7 +9,7 @@ module Indexable IndexJob.perform_later(self) if self.class.name == "Doi" update_column(:indexed, Time.zone.now) - send_import_message(self.to_jsonapi) if aasm_state == "findable" unless Rails.env.test? + send_import_message(self.to_jsonapi) if aasm_state == "findable" unless (Rails.env.test? || client_id == "crossref.citations") end end