Skip to content

Commit

Permalink
VIS.X: fix url for timeout pixel (prebid#7657)
Browse files Browse the repository at this point in the history
  • Loading branch information
mk0x9 authored and Chris Pabst committed Jan 10, 2022
1 parent cbeded4 commit ff68d6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/visxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export const spec = {
},
onTimeout: function(timeoutData) {
// Call '/track/bid_timeout' with timeout data
triggerPixel(buildUrl(TRACK_TIMEOUT_PATH) + '?data=' + JSON.stringify(timeoutData));
triggerPixel(buildUrl(TRACK_TIMEOUT_PATH) + '//' + JSON.stringify(timeoutData));
}
};

Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/visxBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ describe('VisxAdapter', function () {
it('onTimeout', function () {
const data = { timeout: 3000, bidId: '23423', params: { uid: 1 } };
spec.onTimeout(data);
expect(utils.triggerPixel.calledOnceWith('https://t.visx.net/track/bid_timeout?data=' + JSON.stringify(data))).to.equal(true);
expect(utils.triggerPixel.calledOnceWith('https://t.visx.net/track/bid_timeout//' + JSON.stringify(data))).to.equal(true);
});
});

Expand Down

0 comments on commit ff68d6d

Please sign in to comment.