FIX: export download link was broken

This commit is contained in:
Arpit Jalan 2018-04-20 01:12:41 +05:30
parent 9a912b9b35
commit a1f0c58f23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ module Jobs
if upload.persisted?
user_export.update_columns(upload_id: upload.id)
download_link = "#{Discourse.base_uri}/#{upload.url}"
download_link = upload.url
else
Rails.logger.warn("Failed to upload the file #{Discourse.base_uri}/export_csv/#{file_name}.gz")
end