Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dkornet-ad committed Sep 25, 2024
1 parent 4dc9de1 commit 8a619a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adapters/bidmatic/bidmatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ func validateImpression(imp *openrtb2.Imp) (int, error) {

imp.Ext = impExtBuffer

source, _ := impExt.SourceId.Int64() // json.Unmarshal returns err if it isn't valid
source, err := impExt.SourceId.Int64() // json.Unmarshal returns err if it isn't valid
if err != nil {
return 0, err
}
return int(source), nil
}

Expand Down

0 comments on commit 8a619a2

Please sign in to comment.