diff options
author | ThibG <thib@sitedethib.com> | 2020-04-12 17:58:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 17:58:25 +0200 |
commit | 615073df33b9a4317ac5c93fdef83c9cd34567fa (patch) | |
tree | 8bf82214f7e10e6fdff6c331f20b621e35650d60 /app/workers/post_process_media_worker.rb | |
parent | 51bbf0b68dc504c441cb929e4fbf8d8c6e04df42 (diff) | |
parent | a08a2130f0adec653be22b09140f8b502785a13e (diff) |
Merge pull request #1316 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/workers/post_process_media_worker.rb')
-rw-r--r-- | app/workers/post_process_media_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_process_media_worker.rb b/app/workers/post_process_media_worker.rb index d3ebda194..148ae5e2b 100644 --- a/app/workers/post_process_media_worker.rb +++ b/app/workers/post_process_media_worker.rb @@ -25,7 +25,7 @@ class PostProcessMediaWorker media_attachment = MediaAttachment.find(media_attachment_id) media_attachment.processing = :in_progress media_attachment.save - media_attachment.file.reprocess_original! + media_attachment.file.reprocess!(:original) media_attachment.processing = :complete media_attachment.save rescue ActiveRecord::RecordNotFound |