diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-10 09:41:11 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-02-10 12:05:43 +0100 |
commit | c47a0a01534d81f923d2d1f69da764f1c6a3754e (patch) | |
tree | c9ec30a1a74835b9a3d48577d00986326ac7c5c3 /core/src/session-heartbeat.js | |
parent | df4ca949f533513a9ea90afa363c0bd0ee74c134 (diff) | |
download | nextcloud-server-c47a0a01534d81f923d2d1f69da764f1c6a3754e.tar.gz nextcloud-server-c47a0a01534d81f923d2d1f69da764f1c6a3754e.zip |
Add more tests for the new js modules
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/session-heartbeat.js')
-rw-r--r-- | core/src/session-heartbeat.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/session-heartbeat.js b/core/src/session-heartbeat.js index 88c519e1dde..a941720d853 100644 --- a/core/src/session-heartbeat.js +++ b/core/src/session-heartbeat.js @@ -103,14 +103,14 @@ export const initSessionHeartBeat = () => { // Let apps know we're online and requests will have the new token emit('networkOnline', { - success: true + success: true, }) } catch (e) { console.error('could not update session token after resuming network', e) // Let apps know we're online but requests might have an outdated token emit('networkOnline', { - success: false + success: false, }) } }) |