Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
IncSW committed Jan 2, 2020
1 parent ef73018 commit 6c2bd67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions adapters/applogy/applogy.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (a *ApplogyAdapter) MakeRequests(request *openrtb.BidRequest, _ *adapters.E
continue
}
if len(bidderExt.Bidder) == 0 {
errs = append(errs, errors.New("Applogy token required"))
errs = append(errs, errors.New("bidder required"))
continue
}
var impressionExt openrtb_ext.ExtImpApplogy
Expand Down Expand Up @@ -121,7 +121,7 @@ func (a *ApplogyAdapter) MakeBids(request *openrtb.BidRequest, _ *adapters.Reque

for _, seatBid := range bidResponse.SeatBid {
for _, bid := range seatBid.Bid {
bid := bid
bid := bid // pin https://github.com/kyoh86/scopelint#whats-this
var bidType openrtb_ext.BidType
for _, impression := range request.Imp {
if impression.ID != bid.ImpID {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"value": "impression extensions required",
"comparison": "literal"
}, {
"value": "Applogy token required",
"value": "bidder required",
"comparison": "literal"
}, {
"value": "Applogy only supports banner, video or native ads",
Expand Down

0 comments on commit 6c2bd67

Please sign in to comment.