From f9a1139803df3ad55da8333982e6ef7fc63af272 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 9 Oct 2023 13:21:55 +0200 Subject: [PATCH] :sparkles: Load current version on file import --- backend/src/app/rpc/commands/binfile.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/app/rpc/commands/binfile.clj b/backend/src/app/rpc/commands/binfile.clj index e2a16abea..99dd69a68 100644 --- a/backend/src/app/rpc/commands/binfile.clj +++ b/backend/src/app/rpc/commands/binfile.clj @@ -10,6 +10,7 @@ [app.common.data :as d] [app.common.data.macros :as dm] [app.common.exceptions :as ex] + [app.common.files.defaults :as cfd] [app.common.files.features :as ffeat] [app.common.files.migrations :as pmg] [app.common.fressian :as fres] @@ -684,6 +685,7 @@ (update :pages-index relink-shapes) (update :components relink-shapes) (update :media relink-media) + (assoc :version cfd/version) (postprocess-file)) params {:id file-id'