Skip to content

Commit

Permalink
Fix for Quantum Adapter empty size detection (#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminclot authored and jsnellbaker committed Dec 4, 2018
1 parent 6f1d23b commit b215559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/quantumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const spec = {
if (serverBody.cobj) {
bid.cobj = serverBody.cobj;
}
if (bidRequest.sizes) {
if (!utils.isEmpty(bidRequest.sizes)) {
bid.width = bidRequest.sizes[0][0];
bid.height = bidRequest.sizes[0][1];
}
Expand Down

0 comments on commit b215559

Please sign in to comment.