mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
0a32a1e5ae
commit
33b7f6f631
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue