Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
xdevel committed Jun 29, 2024
1 parent dbfb1b5 commit 58a4f96
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions adapters/displayio/displayio.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ func (adapter *adapter) MakeRequests(request *openrtb2.BidRequest, requestInfo *
errs = append(errs, err)
continue
}
if len(bidderExt.Bidder) == 0 {
errs = append(errs, errors.New("bidder required"))
continue
}

var impressionExt openrtb_ext.ExtImpDisplayio
err = json.Unmarshal(bidderExt.Bidder, &impressionExt)
if err != nil {
Expand Down

0 comments on commit 58a4f96

Please sign in to comment.