Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Copper6SSP committed Jul 24, 2024
1 parent 00f8062 commit 248757e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions adapters/copper6ssp/copper6ssp.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ func (a *adapter) MakeRequests(request *openrtb2.BidRequest, reqInfo *adapters.E
continue
}

adapterRequests = append(adapterRequests, adapterReq)
if adapterReq != nil {
adapterRequests = append(adapterRequests, adapterReq)
}
}

if len(adapterRequests) == 0 {
Expand Down Expand Up @@ -127,8 +129,7 @@ func (a *adapter) MakeBids(request *openrtb2.BidRequest, requestData *adapters.R

for _, seatBid := range response.SeatBid {
for i := range seatBid.Bid {
bid := seatBid.Bid[i]
bidType, err := getBidType(bid)
bidType, err := getBidType(seatBid.Bid[i])
if err != nil {
return nil, []error{err}
}
Expand Down

0 comments on commit 248757e

Please sign in to comment.