mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 17:36:33 +00:00
fix: db transactions expected sequential collection while #{} is not
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
(try
|
||||
(let [empty-db (d/empty-db db-schema/schema)
|
||||
db (or old-db
|
||||
(when (and (coll? cached-result)
|
||||
(when (and (sequential? cached-result)
|
||||
(or (map? (first cached-result))
|
||||
(empty? cached-result)))
|
||||
(let [cached-result (util/remove-nils cached-result)]
|
||||
|
||||
Reference in New Issue
Block a user