mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 08:14:21 +01:00
🎨 Supports cleaning up unreferenced databases https://github.com/siyuan-note/siyuan/issues/11569
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
5c4660f520
commit
7c9acda465
2 changed files with 6 additions and 7 deletions
|
|
@ -37,10 +37,10 @@ func removeUnusedAttributeView(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
p := arg["path"].(string)
|
||||
asset := model.RemoveUnusedAttributeView(p)
|
||||
avID := arg["id"].(string)
|
||||
model.RemoveUnusedAttributeView(avID)
|
||||
ret.Data = map[string]interface{}{
|
||||
"path": asset,
|
||||
"id": avID,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue