about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-04-12 16:50:27 +0200
committerThibaut Girka <thib@sitedethib.com>2020-04-12 16:50:27 +0200
commitfdd0beefa7176f4d0df3adcf37156229889127d7 (patch)
tree9a618d6a5c0759b28b89f663ff0fc8eee6c4db6c /app/workers
parent51bbf0b68dc504c441cb929e4fbf8d8c6e04df42 (diff)
parent490ff09c5a503f1e5f9cad964470fdefa3eabea8 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- `README.md`:
  We have a different README than upstream, discarded upstream changes
  and kept ours.
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/post_process_media_worker.rb2
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