🎨 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:
Daniel 2026-01-28 21:19:10 +08:00
parent 5c4660f520
commit 7c9acda465
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 6 additions and 7 deletions

View file

@ -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,
}
}