This commit is contained in:
Daniel 2023-06-09 13:02:21 +08:00
parent eb941b36e4
commit 073af9a310
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
9 changed files with 16 additions and 8 deletions

View file

@ -96,12 +96,7 @@ func reindexHistory(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
err := model.ReindexHistory()
if nil != err {
ret.Code = -1
ret.Msg = err.Error()
return
}
model.ReindexHistory()
}
func getNotebookHistory(c *gin.Context) {