From 9da891e9b0ddf0ba69d04c0194fdbb180c0ad166 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 4 Sep 2024 12:02:58 +0200 Subject: [PATCH] :paperclip: Enable auto-file-snapshot feature scripts/repl --- backend/scripts/repl | 2 +- backend/src/app/rpc/commands/files_update.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/scripts/repl b/backend/scripts/repl index a9efcb623..9d3a5a808 100755 --- a/backend/scripts/repl +++ b/backend/scripts/repl @@ -24,7 +24,7 @@ export PENPOT_FLAGS="\ enable-rpc-climit \ enable-rpc-rlimit \ enable-soft-rpc-rlimit \ - enable-file-snapshot \ + enable-auto-file-snapshot \ enable-webhooks \ enable-access-tokens \ enable-tiered-file-data-storage \ diff --git a/backend/src/app/rpc/commands/files_update.clj b/backend/src/app/rpc/commands/files_update.clj index 7cf5dfa40..bd98b7071 100644 --- a/backend/src/app/rpc/commands/files_update.clj +++ b/backend/src/app/rpc/commands/files_update.clj @@ -235,7 +235,7 @@ :file-id (:id file) :revn (:revn file) :version (:version file) - :features (db/create-array conn "text" (:features file)) + :features features :label (::snapshot-label file) :data (::snapshot-data file) :changes (blob/encode changes)}