Browse Source

lint

pull/2785/head
Kat 7 months ago
parent
commit
0a78ad31e0
  1. 1
      app/jobs/email_csv_job.rb

1
app/jobs/email_csv_job.rb

@ -30,7 +30,6 @@ class EmailCsvJob < ApplicationJob
storage_service.write_file(filename, BYTE_ORDER_MARK + csv_string) storage_service.write_file(filename, BYTE_ORDER_MARK + csv_string)
csv_download = CsvDownload.create!(user:, organisation: user.organisation, filename:, download_type: log_type, expiration_time: EXPIRATION_TIME) csv_download = CsvDownload.create!(user:, organisation: user.organisation, filename:, download_type: log_type, expiration_time: EXPIRATION_TIME)
binding.pry
url = csv_download_url(csv_download.id, host: ENV["APP_HOST"]) url = csv_download_url(csv_download.id, host: ENV["APP_HOST"])
CsvDownloadMailer.new.send_csv_download_mail(user, url, EXPIRATION_TIME) CsvDownloadMailer.new.send_csv_download_mail(user, url, EXPIRATION_TIME)

Loading…
Cancel
Save