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

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