From 9b4e4c83b06344cf525de89520020c125da78838 Mon Sep 17 00:00:00 2001 From: adg Date: Fri, 31 Aug 2018 14:25:06 +0200 Subject: [PATCH] RVR-1852 - Override content type instead of adding header --- modules/rivrAnalyticsAdapter.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rivrAnalyticsAdapter.js b/modules/rivrAnalyticsAdapter.js index 1d13ffe944d..f3afde6ba95 100644 --- a/modules/rivrAnalyticsAdapter.js +++ b/modules/rivrAnalyticsAdapter.js @@ -59,9 +59,9 @@ function sendAuction() { () => {}, JSON.stringify(req), { + contentType: 'application/json', customHeaders: { - 'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=', - 'Content-type': 'application/json' + 'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=' } } ); @@ -77,9 +77,9 @@ function sendImpressions() { () => {}, JSON.stringify(impressionsReq), { + contentType: 'application/json', customHeaders: { - 'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=', - 'Content-type': 'application/json' + 'Authorization': 'Basic b3V0ZXJwYXNzaXZlOkQ3OVZ5YXI1eVZXUEVBaHI=' } } );