fix: db transactions expected sequential collection while #{} is not

This commit is contained in:
Tienson Qin
2022-03-16 14:52:32 +08:00
parent 8cb6d26465
commit e959e257b7

View File

@@ -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)]