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 <[email protected]>
  • Loading branch information
2 people authored and mefjush committed Jul 19, 2024
1 parent 5a42666 commit aa421ca
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 aa421ca

Please sign in to comment.