mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix RedownloadMediaWorker (#13741)
This commit is contained in:
parent
af6d356279
commit
706972b4ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user