From 4eca951a1ce2cf26e752a108227351bfd53944b8 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Tue, 6 Nov 2018 11:36:20 -0800 Subject: [PATCH] fixed syncFileList result when logged out --- app/user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/user.js b/app/user.js index 04c3d4c5..4f22f16c 100644 --- a/app/user.js +++ b/app/user.js @@ -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);