diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-05-13 22:11:49 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-05-13 22:11:49 +0200 |
commit | 3baacf6993581ba91e3e3ae0071b25a645d71115 (patch) | |
tree | ec1dbae77aef8bd43e6f5cfef41dfbc72f133ca3 /app/workers | |
parent | 559214c33fc0c5b5ee621eb2719fa1a15ac9da95 (diff) | |
parent | 92f85bea528c5eca97a2f075c53f7dcafdf5cb41 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/redownload_media_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/redownload_media_worker.rb b/app/workers/redownload_media_worker.rb index 98e995918..071501a49 100644 --- a/app/workers/redownload_media_worker.rb +++ b/app/workers/redownload_media_worker.rb @@ -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 |