Skip to content

Commit

Permalink
comment out delete code temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
wendelfabianchinsamy committed Jul 23, 2024
1 parent 7cf2554 commit 41f0e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/event.rake
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ namespace :gbif_events do
Rails.logger.info("#{label}: index: #{index}")
Rails.logger.info("#{label}: query: #{query}")

response = Event.delete_by_query(index: index, query: query)
# response = Event.delete_by_query(index: index, query: query)
# Rails.logger.info("#{label}: #{response.as_json}")
end
end

Expand Down

0 comments on commit 41f0e34

Please sign in to comment.