Browse Source

:art: 重置数据仓库 https://github.com/siyuan-note/siyuan/issues/5212

Liang Ding 3 years ago
parent
commit
dc10e1a11a
1 changed files with 0 additions and 4 deletions
  1. 0 4
      kernel/api/repo.go

+ 0 - 4
kernel/api/repo.go

@@ -126,8 +126,4 @@ func resetRepo(c *gin.Context) {
 		ret.Msg = fmt.Sprintf(model.Conf.Language(146), err.Error())
 		return
 	}
-
-	ret.Data = map[string]interface{}{
-		"key": hex.EncodeToString(model.Conf.Repo.Key),
-	}
 }