Skip to content

Commit

Permalink
fix: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire authored Nov 15, 2017
1 parent 4c3c327 commit 1328394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pollmommy.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const defaultOptions = {

class Pollmommy {
constructor (options = {}) {
this._options = _.defaultsDeep(options, defaultOptions)
this._options = _.defaultsDeep({}, options, defaultOptions)

RandomHttpUserAgent.configure(_.get(this._options, 'random-http-useragent'))
}
Expand Down

0 comments on commit 1328394

Please sign in to comment.