From 1328394939f60c0e0a442bb0f5caf61290dfc96d Mon Sep 17 00:00:00 2001 From: Hugo Freire Date: Wed, 15 Nov 2017 16:44:19 +0100 Subject: [PATCH] fix: minor tweaks --- src/pollmommy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pollmommy.js b/src/pollmommy.js index e89d2b70..a15d4a37 100644 --- a/src/pollmommy.js +++ b/src/pollmommy.js @@ -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')) }