From 7d6d17fe510e0cd613e057bc8977f87baaf81eda Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Tue, 15 Aug 2023 15:35:30 +0100 Subject: [PATCH] feat: tweak logger parameter (#1840) --- lib/tasks/full_import.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/full_import.rake b/lib/tasks/full_import.rake index 0313b57fc..c1fe146d8 100644 --- a/lib/tasks/full_import.rake +++ b/lib/tasks/full_import.rake @@ -31,7 +31,7 @@ namespace :import do initial_import_list.each do |step| if archive_service.folder_present?(step.folder) - step.import_class.new(archive_service).send(step.import_method, step.folder, step.logger) + step.import_class.new(archive_service, step.logger).send(step.import_method, step.folder) end end @@ -72,7 +72,7 @@ namespace :import do logs_import_list.each do |step| if archive_service.folder_present?(step.folder) - step.import_class.new(archive_service).send(step.import_method, step.folder, step.logger) + step.import_class.new(archive_service, step.logger).send(step.import_method, step.folder) end end