Skip to content

Commit

Permalink
Resolving bidpriceadjusted error and requesting a review again
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Ubaid Ashraf committed Jan 14, 2025
1 parent 99e8e72 commit 54b91a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auction.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ function setKeys(keyValues, bidderSettings, custBidObj, bidReq) {
export function adjustBids(bid) {
let bidPriceAdjusted = adjustCpm(bid.cpm, bid);

if (bidPriceAdjusted.cpm >= 0) {
if (bidPriceAdjusted >= 0) {
bid.cpm = bidPriceAdjusted;
bid.currency = $$PREBID_GLOBAL$$.getConfig('currency').adServerCurrency;
}
Expand Down

0 comments on commit 54b91a1

Please sign in to comment.