Merge pull request #9245 from demarches-simplifiees/fix_typo_in_pjs_migration_job

Tech: corrige une typo dans le job de migration des pjs
This commit is contained in:
LeSim 2023-06-26 21:44:45 +02:00 committed by GitHub
commit 613379371e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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