fixed syncFileList result when logged out

This commit is contained in:
Danny Coates 2018-11-06 11:36:20 -08:00
parent 064077d706
commit 4eca951a1c
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -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);