From df1c4d55d3810d5efd318979aa56179f4e1a90d0 Mon Sep 17 00:00:00 2001 From: Omer Koren Date: Wed, 7 Nov 2018 19:26:35 +0200 Subject: [PATCH] Revert "fix undertone adapter user sync url (#3271)" This reverts commit 3d9f5c555f9d42076139a1840acedd0008d0266c. --- modules/undertoneBidAdapter.js | 4 ++-- test/spec/modules/undertoneBidAdapter_spec.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/undertoneBidAdapter.js b/modules/undertoneBidAdapter.js index 05b1b90c08d..6d4ced88ba1 100644 --- a/modules/undertoneBidAdapter.js +++ b/modules/undertoneBidAdapter.js @@ -8,8 +8,8 @@ import { registerBidder } from 'src/adapters/bidderFactory'; const BIDDER_CODE = 'undertone'; const URL = '//hb.undertone.com/hb'; const FRAME_USER_SYNC = '//cdn.undertone.com/js/usersync.html'; -const PIXEL_USER_SYNC_1 = '//usr.undertone.com/userpixel/syncOne?id=1&of=2'; -const PIXEL_USER_SYNC_2 = '//usr.undertone.com/userpixel/syncOne?id=2&of=2'; +const PIXEL_USER_SYNC_1 = '//usr.undertone.com/userPixel/syncOne?id=1&of=2'; +const PIXEL_USER_SYNC_2 = '//usr.undertone.com/userPixel/syncOne?id=2&of=2'; function getCanonicalUrl() { try { diff --git a/test/spec/modules/undertoneBidAdapter_spec.js b/test/spec/modules/undertoneBidAdapter_spec.js index 517710e7995..400e86567ea 100644 --- a/test/spec/modules/undertoneBidAdapter_spec.js +++ b/test/spec/modules/undertoneBidAdapter_spec.js @@ -176,9 +176,9 @@ describe('Undertone Adapter', function () { const result = spec.getUserSyncs({ pixelEnabled: true }); expect(result).to.have.lengthOf(2); expect(result[0].type).to.equal('image'); - expect(result[0].url).to.equal('//usr.undertone.com/userpixel/syncOne?id=1&of=2'); + expect(result[0].url).to.equal('//usr.undertone.com/userPixel/syncOne?id=1&of=2'); expect(result[1].type).to.equal('image'); - expect(result[1].url).to.equal('//usr.undertone.com/userpixel/syncOne?id=2&of=2'); + expect(result[1].url).to.equal('//usr.undertone.com/userPixel/syncOne?id=2&of=2'); }); }); });