Skip to content
Snippets Groups Projects
Commit 1c69d116 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Undo modifications on Sidekiq parameters

parent af0587d1
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@ class BitstreamDownloaderWorker
include Sidekiq::Worker
include Bitstream::Utils
def perform(params = {})
download_bitstream(params[:url],params[:output])
def perform(retrieve_link,output_file)
download_bitstream(retrieve_link,output_file)
end
end
......@@ -36,7 +36,7 @@ namespace :bitstream do
file_basename = get_file_basename filename
retrieve_link = item.get_retrievelink
output_file = output_dir + file_basename
BitstreamDownloaderWorker.perform_async({url: retrieve_link, output: output_file})
BitstreamDownloaderWorker.perform_async(retrieve_link,output_file)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment