From 353506d5ea3868697bcf8e5a30c3fc0f17fb389c Mon Sep 17 00:00:00 2001 From: Anusha Ranganathan <anusha@cottagelabs.com> Date: Tue, 23 Apr 2024 14:18:53 +0530 Subject: [PATCH] Fixed class name --- hyrax/app/helpers/bulkrax_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hyrax/app/helpers/bulkrax_helper.rb b/hyrax/app/helpers/bulkrax_helper.rb index 996117e2..317620b3 100644 --- a/hyrax/app/helpers/bulkrax_helper.rb +++ b/hyrax/app/helpers/bulkrax_helper.rb @@ -3,7 +3,7 @@ module BulkraxHelper current_run = @importer.last_run if current_run&.failed_records&.positive? - ScheduleRelationshipsJob.set(wait: 5.minutes).perform_later(importer_id: @importer.id) + ::Bulkrax::ScheduleRelationshipsJob.set(wait: 5.minutes).perform_later(importer_id: @importer.id) @importer.status_info('Pending') @importer.entries.each do |entry| @@ -43,7 +43,7 @@ module BulkraxHelper current_run.save elsif current_run && @importer.parser.total.positive? && current_run.processed_records.zero? - Bulkrax::ImporterJob.send( + ::Bulkrax::ImporterJob.send( @importer.parser.perform_method, @importer.id ) -- GitLab