Skip to content

Commit

Permalink
added comment to clarify reason of different test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyHPettersen committed Dec 9, 2024
1 parent 1b122fd commit e6b4eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapters/kobler/kobler.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ func (a adapter) MakeBids(request *openrtb2.BidRequest, requestData *adapters.Re
return bidResponse, nil
}

// Use a separate endpoint for testing purposes in the DEV environment.
// Required due to Kobler's internal test campaign setup.
func (a adapter) getEndpoint(request *openrtb2.BidRequest) string {
if request.Test == 1 {
return a.devEndpoint
Expand Down

0 comments on commit e6b4eeb

Please sign in to comment.