GetDoc is solely responsible for retrieving document content and does not handle business logic

This commit is contained in:
Jeffrey Chen 2025-11-06 19:59:56 +08:00
parent 92a9214302
commit ddbcacfe81
2 changed files with 39 additions and 54 deletions

View file

@ -745,7 +745,6 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
}
keywords = gulu.Str.RemoveDuplicatedElem(keywords)
go setRecentDocByTree(tree)
return
}