This commit is contained in:
Liang Ding 2022-11-01 00:05:42 +08:00
parent ea89f6a78a
commit dc1afe1a46
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 11 additions and 9 deletions

View file

@ -29,7 +29,7 @@ import (
"github.com/88250/gulu"
"github.com/dustin/go-humanize"
"github.com/siyuan-note/dejavu/transport"
"github.com/siyuan-note/dejavu/cloud"
"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, transport.ErrCloudAuthFailed) {
if errors.Is(err, cloud.ErrCloudAuthFailed) {
return Conf.Language(31) + " v" + util.Ver
}