mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Add internal kernel API /api/setting/refreshVirtualBlockRef Fix https://github.com/siyuan-note/siyuan/issues/9829
This commit is contained in:
parent
b06cc3dc10
commit
d6765e0303
3 changed files with 8 additions and 4 deletions
|
|
@ -29,6 +29,13 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
func refreshVirtualBlockRef(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
model.ResetVirtualBlockRefCache()
|
||||
}
|
||||
|
||||
func setBazaar(c *gin.Context) {
|
||||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue