Skip to content

Commit

Permalink
Fix naming of Var
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-siira committed Jul 5, 2024
1 parent 39905ed commit 4482bc9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions adapters/resetdigital/resetdigital.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import (
)

// MaximumBids is the maximum number of bids that can be returned by this adapter.
const (
MaxBids = 1
)
const maxBids = 1

type adapter struct {
endpoint *template.Template
Expand Down Expand Up @@ -193,7 +191,7 @@ func (a *adapter) MakeBids(internalRequest *openrtb2.BidRequest, externalRequest
return nil, []error{err}
}

bidResponse := adapters.NewBidderResponseWithBidsCapacity(MaxBids)
bidResponse := adapters.NewBidderResponseWithBidsCapacity(maxBids)
jsonData := bidResp["bids"].([]interface{})

for _, bidData := range jsonData {
Expand Down

0 comments on commit 4482bc9

Please sign in to comment.