diff --git a/app/jobs/delete_orphaned_gbif_events_job.rb b/app/jobs/delete_orphaned_gbif_events_job.rb index 0406e4530..cc76690f5 100644 --- a/app/jobs/delete_orphaned_gbif_events_job.rb +++ b/app/jobs/delete_orphaned_gbif_events_job.rb @@ -7,7 +7,7 @@ def perform(env, options) label = "DeleteOrphanedGbifEventsJob_#{Time.now.utc.strftime("%d%m%Y%H%M%S")}" Rails.logger.info("#{label}: index_name: #{env}") - Rails.logger.info("#{label}: query: #{query}") + Rails.logger.info("#{label}: query: #{options[:query]}") # response = Event.delete_by_query(index: env, query: options[:query])