fixed syncFileList result when logged out
This commit is contained in:
parent
064077d706
commit
4eca951a1c
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ export default class User {
|
|||
list = JSON.parse(textDecoder.decode(decrypted));
|
||||
} catch (e) {
|
||||
if (e.message === '401') {
|
||||
return this.logout();
|
||||
this.logout();
|
||||
return { incoming: true };
|
||||
}
|
||||
}
|
||||
changes = await this.storage.merge(list);
|
||||
|
|
Loading…
Reference in a new issue