diff --git a/app/concerns/report_generator/active_storage_download_adapter.rb b/app/concerns/report_generator/active_storage_download_adapter.rb index 92fca53..b36a13e 100644 --- a/app/concerns/report_generator/active_storage_download_adapter.rb +++ b/app/concerns/report_generator/active_storage_download_adapter.rb @@ -12,6 +12,6 @@ def expiring_link(expires_in: ReportGenerator::Download::MAX_EXPIRY) ActiveStorage::Current.host = ReportGenerator.config.local_storage_host end - self.report.service_url(expires_in: expires_in.to_i, disposition: "attachment") + self.report.url(expires_in: expires_in.to_i, disposition: "attachment") end end