Fix RedownloadMediaWorker (#13741)

lolsob-rspec
Takeshi Umeda 2020-05-12 22:55:25 +09:00 committed by GitHub
parent 60dc5738cb
commit 15c0903772
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class RedownloadMediaWorker
return if media_attachment.remote_url.blank?
media_attachment.reset_file!
media_attachment.file_remote_url = media_attachment.remote_url
media_attachment.save
rescue ActiveRecord::RecordNotFound
true