Browse Source

Put BU noint_fix_status setting before creating any logs

pull/2251/head
Rachael Booth 2 years ago
parent
commit
9a1c2fe5de
  1. 2
      app/services/bulk_upload/sales/log_creator.rb

2
app/services/bulk_upload/sales/log_creator.rb

@ -7,6 +7,7 @@ class BulkUpload::Sales::LogCreator
end end
def call def call
@bulk_upload.update!(noint_fix_status: BulkUpload.noint_fix_statuses[:not_needed])
row_parsers.each do |row_parser| row_parsers.each do |row_parser|
row_parser.valid? row_parser.valid?
@ -25,7 +26,6 @@ class BulkUpload::Sales::LogCreator
Sentry.capture_exception(e) Sentry.capture_exception(e)
end end
end end
@bulk_upload.update!(noint_fix_status: BulkUpload.noint_fix_statuses[:not_needed])
end end
private private

Loading…
Cancel
Save