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)}