This commit is contained in:
Liang Ding 2022-10-31 23:52:57 +08:00
parent 1eaa791c1d
commit ea89f6a78a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 5 additions and 5 deletions

View file

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