mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 11:26:26 +00:00
fix: roam export error caused by typo
This commit is contained in:
8
src/main/frontend/external/roam_export.cljs
vendored
8
src/main/frontend/external/roam_export.cljs
vendored
@@ -23,10 +23,10 @@
|
||||
(defn uuid->uid-map []
|
||||
(let [db (db/get-db (state/get-current-repo))]
|
||||
(->>
|
||||
(d/q db '[:find (pull ?r [:block/uuid])
|
||||
:in $
|
||||
:where
|
||||
[?b :block/refs ?r]])
|
||||
(d/q '[:find (pull ?r [:block/uuid])
|
||||
:in $
|
||||
:where
|
||||
[?b :block/refs ?r]] db)
|
||||
(map (comp :block/uuid first))
|
||||
(distinct)
|
||||
(map (fn [uuid] [uuid (nano-id)]))
|
||||
|
||||
Reference in New Issue
Block a user