Skip to content

Commit

Permalink
fix: start sync on reconnect event (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice-anjali authored and gr2m committed Mar 17, 2017
1 parent 50be93d commit c3be48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function init (hoodie) {
}
})
})
hoodie.connectionStatus.on('connect', function () {
hoodie.connectionStatus.on('reconnect', function () {
hoodie.account.get('session')

.then(function (session) {
Expand Down

0 comments on commit c3be48c

Please sign in to comment.