Commit db0a3fa0 authored by analog-nico's avatar analog-nico
Browse files

Request already clones the options object

parent 7ed05726
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ request.Request.prototype.init = function (options) {
    this._rp_callbackOrig = this.callback;
    this.callback = ownCallback;

    this._rp_options = _.cloneDeep(options);
    this._rp_options = options;
    this._rp_options.simple = options.simple === false ? false : true;
    this._rp_options.resolveWithFullResponse = options.resolveWithFullResponse === true ? true : false;