🎨 Improve upload assets to cloud

This commit is contained in:
Daniel 2024-01-01 16:54:00 +08:00
parent b9f1da33f0
commit fdb0600dbb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 15 additions and 25 deletions

View file

@ -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
}