This commit is contained in:
Liang Ding 2023-01-27 17:57:32 +08:00
parent a5229de6d0
commit 5da5ae8818
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

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
}