From be13704934a91ce61b7cb1f9a7f7e94d9afaa599 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 27 May 2025 14:54:17 +0200 Subject: [PATCH] :bug: Fix access to libs on migration during an import (#6572) --- backend/src/app/binfile/common.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/binfile/common.clj b/backend/src/app/binfile/common.clj index 84f539e3a0..b1a131ef10 100644 --- a/backend/src/app/binfile/common.clj +++ b/backend/src/app/binfile/common.clj @@ -429,7 +429,6 @@ (-> fdata (assoc :id id) (dissoc :recent-colors)))) - (fmg/migrate-file libs) (update :data (fn [fdata] (-> fdata (update :pages-index relink-shapes) @@ -437,6 +436,7 @@ (update :media relink-media) (update :colors relink-colors) (d/without-nils)))) + (fmg/migrate-file libs) ;; NOTE: this is necessary because when we just creating a new ;; file from imported artifact or cloned file there are no