This commit is contained in:
simon lehericey 2023-06-26 21:32:07 +02:00
parent 9624cea0b0
commit 7ec604ced3

View file

@ -2,7 +2,7 @@ class PjsMigrationJob < ApplicationJob
queue_as :pj_migration_jobs queue_as :pj_migration_jobs
def perform(blob_id) def perform(blob_id)
blob = Blob.find(blob_id) blob = ActiveStorage::Blob.find(blob_id)
return if already_moved?(blob) return if already_moved?(blob)