Skip to content

Commit

Permalink
merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoRaisanen committed Jul 26, 2023
1 parent 338ba23 commit 7d1fcec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/request-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,8 @@ RequestBase.prototype.send = function (data) {
if (typeof data[key] == "bigint") throw new Error("Cannot serialize BigInt value to json");
if (hasOwn(data, key)) this._data[key] = data[key];
}
} else if (typeof data === 'bigint') throw new Error("Cannot send value of type BigInt");
}
else if (typeof data === 'bigint') throw new Error("Cannot send value of type BigInt");
else if (typeof data === 'string') {
// default to x-www-form-urlencoded
if (!type) this.type('form');
Expand Down

0 comments on commit 7d1fcec

Please sign in to comment.