mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🐛 复制数据仓库密钥错误 https://github.com/siyuan-note/siyuan/issues/5226
This commit is contained in:
parent
dc10e1a11a
commit
ed1d0b3cc1
1 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,6 @@
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
|
@ -113,7 +112,7 @@ func initRepoKey(c *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ret.Data = map[string]interface{}{
|
ret.Data = map[string]interface{}{
|
||||||
"key": hex.EncodeToString(model.Conf.Repo.Key),
|
"key": model.Conf.Repo.Key,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue