Skip to content

Commit

Permalink
Update nextMillenniumBidAdapter.js (#7972)
Browse files Browse the repository at this point in the history
Fixed an error that occurred if one of the intermediate objects response.body.ext.responsetimemillis is missing
  • Loading branch information
mhlm authored Jan 31, 2022
1 parent f2b050d commit 69bf5c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/nextMillenniumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const spec = {
let bidders = []
if (responses) {
_each(responses, (response) => {
if (!(response && response.body && response.body.ext && response.body.ext.responsetimemillis)) return
_each(Object.keys(response.body.ext.responsetimemillis), b => bidders.push(b))
})
}
Expand Down

0 comments on commit 69bf5c5

Please sign in to comment.