Skip to content

Commit

Permalink
remove unnecessary spread operator (prebid#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Kendall authored and philipwatson committed Sep 18, 2017
1 parent a7335be commit 671daff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bidfactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ function Bid(statusCode, bidRequest) {
}

// Bid factory function.
exports.createBid = function () {
return new Bid(...arguments);
exports.createBid = function (statusCode, bidRequest) {
return new Bid(statusCode, bidRequest);
};

0 comments on commit 671daff

Please sign in to comment.