Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2026-01-28 10:17:12 +08:00
parent 1fa674e430
commit 34e3261bce
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -44,6 +44,10 @@ func getDocOutline(c *gin.Context) {
}
rootID := arg["id"].(string)
if util.InvalidIDPattern(rootID, ret) {
return
}
headings, err := model.Outline(rootID, preview)
if err != nil {
ret.Code = 1