This commit is contained in:
Daniel 2024-12-18 17:17:24 +08:00
parent 5fb2b78911
commit b81de5d2da
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 32 additions and 42 deletions

View file

@ -317,8 +317,7 @@ func exportNotebookMd(c *gin.Context) {
}
notebook := arg["notebook"].(string)
p := arg["path"].(string)
zipPath := model.ExportNotebookMarkdown(notebook, p)
zipPath := model.ExportNotebookMarkdown(notebook)
ret.Data = map[string]interface{}{
"name": path.Base(zipPath),
"zip": zipPath,