This commit is contained in:
Liang Ding 2022-10-12 15:18:22 +08:00
parent 0a32a1e5ae
commit 33b7f6f631
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -39,8 +39,8 @@ import (
)
type EmbedBlock struct {
Block *Block `json:"block"`
BlockPath []*BlockPath `json:"blockPath"`
Block *Block `json:"block"`
BlockPaths []*BlockPath `json:"blockPaths"`
}
func SearchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []*EmbedBlock) {
@ -81,8 +81,8 @@ func searchEmbedBlock(stmt string, excludeIDs []string, headingMode int) (ret []
continue
}
ret = append(ret, &EmbedBlock{
Block: block,
BlockPath: blockPaths,
Block: block,
BlockPaths: blockPaths,
})
}