diff --git a/backend/src/app/binfile/common.clj b/backend/src/app/binfile/common.clj index 84f539e3a..b1a131ef1 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