Skip to content

Commit

Permalink
RVR-1852 - Override content type instead of adding header
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroDG committed Oct 2, 2018
1 parent 233579a commit 9b4e4c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/rivrAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ function sendAuction() {
() => {},
JSON.stringify(req),
{
contentType: 'application/json',
customHeaders: {
'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=',
'Content-type': 'application/json'
'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI='
}
}
);
Expand All @@ -77,9 +77,9 @@ function sendImpressions() {
() => {},
JSON.stringify(impressionsReq),
{
contentType: 'application/json',
customHeaders: {
'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=',
'Content-type': 'application/json'
'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI='
}
}
);
Expand Down

0 comments on commit 9b4e4c8

Please sign in to comment.