🎨 Ctrl+N should follow notebook create save path https://ld246.com/article/1695965429553

This commit is contained in:
Daniel 2023-09-29 17:33:18 +08:00
parent 41e35ea795
commit 2b9bec8e8b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 3 additions and 3 deletions

View file

@ -503,7 +503,7 @@ func createDocWithMd(c *gin.Context) {
hPath = "/" + hPath
}
err := model.CreateWithMarkdown(notebook, hPath, markdown, parentID, id)
id, err := model.CreateWithMarkdown(notebook, hPath, markdown, parentID, id)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()