mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Improve upload assets to cloud
This commit is contained in:
parent
b9f1da33f0
commit
fdb0600dbb
3 changed files with 15 additions and 25 deletions
|
|
@ -67,8 +67,8 @@ func Export2Liandi(id string) (err error) {
|
|||
return errors.New(Conf.Language(204))
|
||||
}
|
||||
|
||||
sqlAssets := sql.QueryRootBlockAssets(id)
|
||||
err = uploadAssets2Cloud(sqlAssets, bizTypeExport2Liandi)
|
||||
assets := assetsLinkDestsInTree(tree)
|
||||
err = uploadAssets2Cloud(assets, bizTypeExport2Liandi)
|
||||
if nil != err {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue