Skip to content

Commit

Permalink
Insticator: fix video validation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Net-burst committed Feb 4, 2025
1 parent f978b0e commit 09b56d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void validateImp(Imp imp) {

if (isInvalidDimension(video.getH())
|| isInvalidDimension(video.getW())
|| CollectionUtils.isNotEmpty(video.getMimes())) {
|| CollectionUtils.isEmpty(video.getMimes())) {

throw new PreBidException("One or more invalid or missing video field(s) w, h, mimes");
}
Expand Down

0 comments on commit 09b56d1

Please sign in to comment.