Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
mlb7687 committed May 6, 2021
1 parent 53f74b0 commit 784fc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/ix/ix.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func (a *IxAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalReque
bidExtVideo = &openrtb_ext.ExtBidPrebidVideo{
Duration: bidExt.Prebid.Video.Duration,
}
if bid.Cat == nil || len(bid.Cat) == 0 {
if len(bid.Cat) == 0 {
bid.Cat = []string{bidExt.Prebid.Video.PrimaryCategory}
}
}
Expand Down

0 comments on commit 784fc56

Please sign in to comment.