This commit is contained in:
Liang Ding
2023-01-27 17:57:32 +08:00
parent a5229de6d0
commit 5da5ae8818

View File

@@ -245,7 +245,7 @@ func Heading2Doc(srcHeadingID, targetBoxID, targetPath string) (srcRootBlockID,
}
srcRootBlockID = srcTree.Root.ID
headingBlock, err := getBlock(srcHeadingID)
headingBlock, err := getBlock(srcHeadingID, srcTree)
if nil != err {
return
}