fix: ci tests

This commit is contained in:
Tienson Qin
2026-02-26 13:09:00 +08:00
parent 560ce3ca4f
commit 2e78d8be40
2 changed files with 3 additions and 2 deletions

View File

@@ -691,8 +691,8 @@
(p/recur (rest remaining) (conj acc item))))))))
(defn- rehydrate-large-titles!
[repo {:keys [graph-id download-fn aes-key tx-data]}]
(when-let [conn (worker-state/get-datascript-conn repo)]
[repo {:keys [graph-id download-fn aes-key tx-data conn]}]
(when-let [conn (or conn (worker-state/get-datascript-conn repo))]
(let [download-fn (or download-fn download-large-title!)
graph-id (or graph-id (get-graph-id repo))
items (if (seq tx-data)

View File

@@ -710,6 +710,7 @@
(-> (p/let [result (#'db-sync/rehydrate-large-titles!
test-repo
{:tx-data tx-data
:conn conn
:graph-id "graph-1"
:download-fn download-fn
:aes-key nil})