Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve search highlighting https://github.com/siyuan-note/siyuan/issues/13343

Danielbf4095178171
diff --git a/kernel/api/filetree.go b/kernel/api/filetree.go
index ddecb37762..b8d24e38b3 100644
--- a/kernel/api/filetree.go
+++ b/kernel/api/filetree.go
@@ -1066,9 +1066,6 @@ func getDoc(c *gin.Context) {
return
}
- reqId := arg["reqId"]
- ret.Data = map[string]interface{}{"reqId": reqId}
-
id := arg["id"].(string)
idx := arg["index"]
index := 0
@@ -1155,6 +1152,7 @@ func getDoc(c *gin.Context) {
"isSyncing": isSyncing,
"isBacklinkExpand": isBacklinkExpand,
"keywords": keywords,
+ "reqId": arg["reqId"],
}
}