mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
♻️ 重构数据仓库同步 Fix https://github.com/siyuan-note/siyuan/issues/6427
This commit is contained in:
parent
1eaa791c1d
commit
ea89f6a78a
3 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@ import (
|
|||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/siyuan-note/dejavu"
|
||||
"github.com/siyuan-note/dejavu/transport"
|
||||
"github.com/siyuan-note/logging"
|
||||
"github.com/siyuan-note/siyuan/kernel/sql"
|
||||
"github.com/siyuan-note/siyuan/kernel/treenode"
|
||||
|
|
@ -378,7 +378,7 @@ func ListCloudSyncDir() (syncDirs []*Sync, hSize string, err error) {
|
|||
}
|
||||
|
||||
func formatErrorMsg(err error) string {
|
||||
if errors.Is(err, dejavu.ErrCloudAuthFailed) {
|
||||
if errors.Is(err, transport.ErrCloudAuthFailed) {
|
||||
return Conf.Language(31) + " v" + util.Ver
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue