mirror of
https://github.com/timvisee/send.git
synced 2026-03-05 13:39:54 -05:00
fixed syncFileList result when logged out
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user