mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -43,9 +43,9 @@ func importSY(c *gin.Context) {
|
||||
|
||||
files := form.File["file"]
|
||||
if 1 > len(files) {
|
||||
logging.LogErrorf("parse import .sy.zip failed: %s", err)
|
||||
logging.LogErrorf("parse import .sy.zip failed, no file found")
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
ret.Msg = "no file found"
|
||||
return
|
||||
}
|
||||
file := files[0]
|
||||
|
||||
Reference in New Issue
Block a user