mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 重置数据仓库 Fix https://github.com/siyuan-note/siyuan/issues/5212
This commit is contained in:
parent
f23764fee0
commit
0361de475f
7 changed files with 17 additions and 9 deletions
|
|
@ -93,8 +93,8 @@ func importRepoKey(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
hexKey := arg["key"].(string)
|
||||
if err := model.ImportRepoKey(hexKey); nil != err {
|
||||
base64Key := arg["key"].(string)
|
||||
if err := model.ImportRepoKey(base64Key); nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = model.Conf.Language(137)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue