Skip to content

Commit

Permalink
Update admatic.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bakicam committed Apr 25, 2024
1 parent 4ba7063 commit 1099844
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions adapters/admatic/admatic.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ func (a *adapter) MakeBids(request *openrtb2.BidRequest, requestData *adapters.R
return nil, nil
}

if responseData.StatusCode != http.StatusOK {
err := &errortypes.BadServerResponse{
Message: fmt.Sprintf("Unexpected status code: %d. Run with request.debug = 1 for more info.", responseData.StatusCode),
}
return nil, []error{err}
}

var response openrtb2.BidResponse
if err := json.Unmarshal(responseData.Body, &response); err != nil {
return nil, []error{err}
Expand Down

0 comments on commit 1099844

Please sign in to comment.