fixed syncFileList result when logged out
This commit is contained in:
parent
064077d706
commit
4eca951a1c
|
@ -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 New Issue