diff --git a/backend/src/app/srepl/main.clj b/backend/src/app/srepl/main.clj index ba9693e93c..17df79a9a7 100644 --- a/backend/src/app/srepl/main.clj +++ b/backend/src/app/srepl/main.clj @@ -378,11 +378,11 @@ (defn process-file! "Apply a function to the file. Optionally save the changes or not. The function receives the decoded and migrated file data." - [file-id update-fn & {:keys [rollback?] :or {rollback? true}}] + [file-id update-fn & {:keys [rollback?] :or {rollback? true} :as opts}] (db/tx-run! (assoc main/system ::db/rollback rollback?) (fn [system] (binding [h/*system* system] - (h/process-file! system file-id update-fn))))) + (h/process-file! system file-id update-fn opts))))) (defn process-team-files! "Apply a function to each file of the specified team."