don't overwrite upload source with downloaded source

This commit is contained in:
Albert Yi
2018-07-26 18:19:31 -07:00
parent 77854349e5
commit 7753461f6f
2 changed files with 1 additions and 3 deletions

View File

@@ -222,8 +222,6 @@ class UploadService
def download_for_upload(source, upload)
file = download_from_source(source, referer_url: upload.referer_url) do |context|
upload.downloaded_source = context[:downloaded_source]
puts "source: #{source} -> #{context[:source]}"
#upload.source = context[:source]
if context[:ugoira]
upload.context = { ugoira: context[:ugoira] }