From 41f0e349a44832e42b64c0e68bb5066e76ea9811 Mon Sep 17 00:00:00 2001 From: Wendel Fabian Chinsamy Date: Tue, 23 Jul 2024 18:04:53 +0200 Subject: [PATCH] comment out delete code temporarily --- lib/tasks/event.rake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/event.rake b/lib/tasks/event.rake index 125f0a87b..77199b1c2 100644 --- a/lib/tasks/event.rake +++ b/lib/tasks/event.rake @@ -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