Skip to content

Commit c3be48c

Browse files
Alice-anjaligr2m
authored andcommitted
fix: start sync on reconnect event (#134)
1 parent 50be93d commit c3be48c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function init (hoodie) {
6969
}
7070
})
7171
})
72-
hoodie.connectionStatus.on('connect', function () {
72+
hoodie.connectionStatus.on('reconnect', function () {
7373
hoodie.account.get('session')
7474

7575
.then(function (session) {

0 commit comments

Comments
 (0)