Skip to content

Commit

Permalink
fix session bug
Browse files Browse the repository at this point in the history
  • Loading branch information
trazyn committed Aug 14, 2017
1 parent 7784673 commit 4a0a17b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/stores/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ class Session {
var mods = [];

// Refresh the sync keys
self.user.SyncKey = response.data.SyncKey;
self.genSyncKey(response.data.SyncKey.List);
self.user.SyncKey = response.data.SyncCheckKey;
self.genSyncKey(response.data.SyncCheckKey.List);

// Get the new friend
response.data.ModContactList.map(e => {
Expand Down Expand Up @@ -224,7 +224,7 @@ class Session {
});

self.loading = false;
self.genSyncKey(response.data.SyncKey.List);
self.genSyncKey(response.data.SyncCheckKey.List);

if (await loop() === false) {
throw window.synccheck;
Expand Down

0 comments on commit 4a0a17b

Please sign in to comment.