Skip to content

Commit

Permalink
Remove duplicate event call for actionDebug event (#12193)
Browse files Browse the repository at this point in the history
Co-authored-by: Komal Kumari <[email protected]>
  • Loading branch information
pm-komal-kumari and Komal Kumari authored Sep 6, 2024
1 parent a6fc47e commit 1d094e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/prebid.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ function validateAdUnitPos(adUnit, mediaType) {
let warning = `Value of property 'pos' on ad unit ${adUnit.code} should be of type: Number`;

logWarn(warning);
events.emit(EVENTS.AUCTION_DEBUG, { type: 'WARNING', arguments: warning });
delete adUnit.mediaTypes[mediaType].pos;
}

Expand Down

0 comments on commit 1d094e9

Please sign in to comment.