diff options
| author | Henry Jameson <me@hjkos.com> | 2019-07-05 10:02:14 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-07-05 10:02:14 +0300 |
| commit | 2c2b84d31dbe906b89dfb995394d887af110e04c (patch) | |
| tree | 18e70da867cbd2498326cc947916d8ef8b1c6669 /src/modules/users.js | |
| parent | 6bea363b9db1c372e0e3add4458ff4c819b7c500 (diff) | |
npm eslint --fix .
Diffstat (limited to 'src/modules/users.js')
| -rw-r--r-- | src/modules/users.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/users.js b/src/modules/users.js index 1e0b16f5..3cd38d56 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -346,8 +346,8 @@ const users = { const notificationsObject = store.rootState.statuses.notifications.idStore const relevantNotifications = Object.entries(notificationsObject) - .filter(([k, val]) => notificationIds.includes(k)) - .map(([k, val]) => val) + .filter(([k, val]) => notificationIds.includes(k)) + .map(([k, val]) => val) // Reconnect users to notifications each(relevantNotifications, (notification) => { @@ -459,11 +459,11 @@ const users = { commit('endLogin') resolve() }) - .catch((error) => { - console.log(error) - commit('endLogin') - reject('Failed to connect to server, try again') - }) + .catch((error) => { + console.log(error) + commit('endLogin') + reject('Failed to connect to server, try again') + }) }) } } |
