mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
🎨 Upload asset files to cloud supports focus use https://github.com/siyuan-note/siyuan/issues/15462
This commit is contained in:
parent
0d3a2479cb
commit
3fda003401
4 changed files with 35 additions and 27 deletions
|
|
@ -386,8 +386,8 @@ func uploadCloud(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
rootID := arg["id"].(string)
|
||||
count, err := model.UploadAssets2Cloud(rootID)
|
||||
id := arg["id"].(string)
|
||||
count, err := model.UploadAssets2Cloud(id)
|
||||
if err != nil {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue