Skip to content

Commit

Permalink
zentotem: fix after review
Browse files Browse the repository at this point in the history
fix after review
  • Loading branch information
GermanBogatov committed Aug 22, 2024
1 parent 536f118 commit b5cb591
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions adapters/zentotem/zentotem.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ func (a *adapter) MakeBids(request *openrtb2.BidRequest, requestData *adapters.R
bidResponse.Currency = response.Cur
var errors []error
for _, seatBid := range response.SeatBid {
for _, bid := range seatBid.Bid {
bidType, err := getMediaTypeForBid(bid)
for i := range seatBid.Bid {
bidType, err := getMediaTypeForBid(seatBid.Bid[i])
if err != nil {
errors = append(errors, err)
continue
}

bidResponse.Bids = append(bidResponse.Bids, &adapters.TypedBid{
Bid: &bid,
Bid: &seatBid.Bid[i],
BidType: bidType,
})
}
Expand Down

0 comments on commit b5cb591

Please sign in to comment.