Skip to content
Snippets Groups Projects
Unverified Commit 706972b4 authored by Takeshi Umeda's avatar Takeshi Umeda Committed by GitHub
Browse files

Fix RedownloadMediaWorker (#13741)

parent af6d3562
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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