Skip to content

Commit

Permalink
Merge pull request #25 from jogibear9988/patch-1
Browse files Browse the repository at this point in the history
Update main.js
  • Loading branch information
Apollon77 authored Jan 8, 2019
2 parents 9e5a861 + 7f879ed commit a503538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function startAdapter(options) {
},
// is called when databases are connected and adapter received configuration.
// start here!
ready: main()
ready: () => main()
});
// you have to call the adapter function and pass a options object
// adapter will be restarted automatically every time as the configuration changed, e.g system.adapter.template.0
Expand Down Expand Up @@ -167,4 +167,4 @@ if (module && module.parent) {
} else {
// or start the instance directly
startAdapter();
}
}

0 comments on commit a503538

Please sign in to comment.