Skip to content

Commit 784fc56

Browse files
committed
Remove redundant check
1 parent 53f74b0 commit 784fc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapters/ix/ix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func (a *IxAdapter) MakeBids(internalRequest *openrtb2.BidRequest, externalReque
411411
bidExtVideo = &openrtb_ext.ExtBidPrebidVideo{
412412
Duration: bidExt.Prebid.Video.Duration,
413413
}
414-
if bid.Cat == nil || len(bid.Cat) == 0 {
414+
if len(bid.Cat) == 0 {
415415
bid.Cat = []string{bidExt.Prebid.Video.PrimaryCategory}
416416
}
417417
}

0 commit comments

Comments
 (0)