Skip to content

Commit

Permalink
Fixed option bug. Closes #487. (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
arb committed May 19, 2016
1 parent 976ca9e commit af29b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports.register = (server, options, next) => {
method: internals.onPostStop(monitor)
}, {
type: 'onPreStart',
method: internals.onPreStart(monitor, options)
method: internals.onPreStart(monitor, result.value)
}]);

return monitor.start(next);
Expand Down

0 comments on commit af29b1f

Please sign in to comment.