Skip to content

Commit 6c2bd67

Browse files
committed
fix error message
1 parent ef73018 commit 6c2bd67

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adapters/applogy/applogy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (a *ApplogyAdapter) MakeRequests(request *openrtb.BidRequest, _ *adapters.E
5656
continue
5757
}
5858
if len(bidderExt.Bidder) == 0 {
59-
errs = append(errs, errors.New("Applogy token required"))
59+
errs = append(errs, errors.New("bidder required"))
6060
continue
6161
}
6262
var impressionExt openrtb_ext.ExtImpApplogy
@@ -121,7 +121,7 @@ func (a *ApplogyAdapter) MakeBids(request *openrtb.BidRequest, _ *adapters.Reque
121121

122122
for _, seatBid := range bidResponse.SeatBid {
123123
for _, bid := range seatBid.Bid {
124-
bid := bid
124+
bid := bid // pin https://github.com/kyoh86/scopelint#whats-this
125125
var bidType openrtb_ext.BidType
126126
for _, impression := range request.Imp {
127127
if impression.ID != bid.ImpID {

adapters/applogy/applogytest/supplemental/invalid-params.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"value": "impression extensions required",
112112
"comparison": "literal"
113113
}, {
114-
"value": "Applogy token required",
114+
"value": "bidder required",
115115
"comparison": "literal"
116116
}, {
117117
"value": "Applogy only supports banner, video or native ads",

0 commit comments

Comments
 (0)