Skip to content

Commit

Permalink
Remove validation for empty UIDs in user EIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pubmatic-Supriya-Patil committed Feb 28, 2025
1 parent 5514eae commit 74d9c26
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions endpoints/openrtb2/auction.go
Original file line number Diff line number Diff line change
Expand Up @@ -1284,11 +1284,6 @@ func (deps *endpointDeps) validateUser(req *openrtb_ext.RequestWrapper, aliases
if len(eidErrors) > 0 {
errL = append(errL, eidErrors...)
}
for eidIndex, eid := range validEids {
if len(eid.UIDs) == 0 {
return append(errL, fmt.Errorf("request.user.eids[%d].uids must contain at least one element or be undefined", eidIndex))
}
}
req.User.EIDs = validEids
}

Expand Down

0 comments on commit 74d9c26

Please sign in to comment.