From 7ec604ced38fc16d246ee3ce0678a09b0408de07 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Mon, 26 Jun 2023 21:32:07 +0200 Subject: [PATCH] typo --- app/jobs/pjs_migration_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/pjs_migration_job.rb b/app/jobs/pjs_migration_job.rb index eff8b5014..d964b3f95 100644 --- a/app/jobs/pjs_migration_job.rb +++ b/app/jobs/pjs_migration_job.rb @@ -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)