Skip to content

Commit

Permalink
Replace call to old url module with call to utils (prebid#5136)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Monday <mmonday@rubiconproject.com>
  • Loading branch information
2 people authored and iggyfisk committed Jun 22, 2020
1 parent deead07 commit 492b710
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/terceptAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ajax } from '../src/ajax.js';
import adapter from '../src/AnalyticsAdapter.js';
import adapterManager from '../src/adapterManager.js';
import CONSTANTS from '../src/constants.json';
import * as url from '../src/url.js';
import * as utils from '../src/utils.js';

const emptyUrl = '';
Expand Down Expand Up @@ -117,7 +116,7 @@ function send(data, status) {
}
data.initOptions = initOptions;

let terceptAnalyticsRequestUrl = url.format({
let terceptAnalyticsRequestUrl = utils.buildUrl({
protocol: 'https',
hostname: (initOptions && initOptions.hostName) || defaultHostName,
pathname: (initOptions && initOptions.pathName) || defaultPathName,
Expand Down

0 comments on commit 492b710

Please sign in to comment.