mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 复制数据仓库密钥错误 https://github.com/siyuan-note/siyuan/issues/5226
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user