Skip to content

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

:bug: 复制数据仓库密钥错误 https://github.com/siyuan-note/siyuan/issues/5226

Liang Dinged1d0b3cc104
diff --git a/kernel/api/repo.go b/kernel/api/repo.go
index 11c458d39e..f663535eeb 100644
--- a/kernel/api/repo.go
+++ b/kernel/api/repo.go
@@ -17,7 +17,6 @@
package api
import (
- "encoding/hex"
"fmt"
"net/http"
@@ -113,7 +112,7 @@ func initRepoKey(c *gin.Context) {
}
ret.Data = map[string]interface{}{
- "key": hex.EncodeToString(model.Conf.Repo.Key),
+ "key": model.Conf.Repo.Key,
}
}