Skip to content

Commit

Permalink
Unruly: dynamic bid response array size (prebid#3644)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Haines <bhaines@tremorvideo.com>
  • Loading branch information
bhainesnexxen and Brian Haines authored May 22, 2024
1 parent 01e9f6d commit a939c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/unruly/unruly.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (a *adapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest
}}
}

bidResponse := adapters.NewBidderResponseWithBidsCapacity(5)
bidResponse := adapters.NewBidderResponseWithBidsCapacity(len(internalRequest.Imp))

var errs []error
for _, sb := range bidResp.SeatBid {
Expand Down

0 comments on commit a939c4b

Please sign in to comment.