fix: remove useless code

This commit is contained in:
Christophe Robillard 2024-05-22 12:23:38 +02:00 committed by simon lehericey
parent d3b700326d
commit 4fb03e3967
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -12,8 +12,6 @@ module DownloadManager
end end
def download_all def download_all
# TODO: arriver à enelver ce parametrage d'ActiveStorage
ActiveStorage::Current.url_options = { host: ENV.fetch("APP_HOST") }
hydra = Typhoeus::Hydra.new(max_concurrency: DOWNLOAD_MAX_PARALLEL) hydra = Typhoeus::Hydra.new(max_concurrency: DOWNLOAD_MAX_PARALLEL)
attachments.each do |attachment, path| attachments.each do |attachment, path|