An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve the response status code of kernel API `/api/file/getFile` https://github.com/siyuan-note/siyuan/pull/9075
Danielcf5948dd1aa6
diff --git a/kernel/api/file.go b/kernel/api/file.goindex 3b24df4c31..56a9ddf880 100644--- a/kernel/api/file.go+++ b/kernel/api/file.go@@ -84,6 +84,7 @@ func getFile(c *gin.Context) {ret := gulu.Ret.NewResult()arg, ok := util.JsonArg(c, ret)if !ok {+ ret.Code = -1c.JSON(http.StatusAccepted, ret)return}