fix: entity not found err when import opml with non-existed block-ref-id

This commit is contained in:
rcmerci
2021-06-22 13:47:38 +08:00
committed by Tienson Qin
parent ac5d4b4508
commit 643ff92be1
3 changed files with 13 additions and 10 deletions

View File

@@ -619,7 +619,7 @@
[blocks parents' (last parents') result]))]
(recur blocks parents sibling result)))))
(defn parse-block
(defn- parse-block
([block]
(parse-block block nil))
([{:block/keys [uuid content meta file page parent left format] :as block} {:keys [with-id?]