Skip to content

Commit

Permalink
review: adjust return type
Browse files Browse the repository at this point in the history
  • Loading branch information
github-maxime-liege committed Oct 9, 2023
1 parent b72868f commit d732b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/teads/teads.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func getMediaTypeForImp(impID string, imps []openrtb2.Imp) (openrtb_ext.BidType,
return openrtb_ext.BidTypeBanner, nil
}
}
return openrtb_ext.BidTypeBanner, []error{&errortypes.BadInput{
return openrtb_ext.BidType(""), []error{&errortypes.BadInput{
Message: "Imp ids were not equals",
}}
}

0 comments on commit d732b4f

Please sign in to comment.