Skip to content
Snippets Groups Projects
Commit a209d479 authored by Anusha Ranganathan's avatar Anusha Ranganathan
Browse files

Fixed class name

parent c6e48414
Branches
Tags
1 merge request!301Add helper to rerun last import run
Pipeline #14301 passed
......@@ -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
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment