Browse Source

fix: don't include errors param in send_correct_and_upload_again_mail

pull/1334/head
Sam Seed 3 years ago committed by Phil Lee
parent
commit
eb6f8f0d1d
  1. 10
      app/services/bulk_upload/processor.rb

10
app/services/bulk_upload/processor.rb

@ -54,13 +54,9 @@ private
end end
def send_correct_and_upload_again_mail def send_correct_and_upload_again_mail
BulkUploadMailer.send_correct_and_upload_again_mail( BulkUploadMailer
bulk_upload:, .send_correct_and_upload_again_mail(bulk_upload:)
errors: { .deliver_later
over_column_error_threshold: validator.over_column_error_threshold?,
any_logs_already_exist: validator.any_logs_already_exist?,
},
).deliver_later
end end
def send_success_mail def send_success_mail

Loading…
Cancel
Save