diff --git a/lib/support/tsdbUtil.js b/lib/support/tsdbUtil.js index ec7835950..9c8515874 100644 --- a/lib/support/tsdbUtil.js +++ b/lib/support/tsdbUtil.js @@ -8,7 +8,7 @@ export function getConnectivity(options) { // if we have a friendly name for your connectivity, use that! let connectivity = get(options, 'browsertime.connectivity.alias'); return connectivity - ? this.toSafeKey(connectivity.toString()) + ? toSafeKey(connectivity.toString()) : get(options, 'browsertime.connectivity.profile', 'unknown'); } @@ -26,9 +26,9 @@ export function getURLAndGroup( options.urlsMetaData[url].urlAlias ) { let alias = options.urlsMetaData[url].urlAlias; - return this.toSafeKey(group) + '.' + this.toSafeKey(alias); + return toSafeKey(group) + '.' + toSafeKey(alias); } else if (alias && alias[url]) { - return this.toSafeKey(group) + '.' + this.toSafeKey(alias[url]); + return toSafeKey(group) + '.' + toSafeKey(alias[url]); } else { return keypathFromUrl(url, includeQueryParameters, options.useHash, group); }