diff --git a/src/urlUtils.ts b/src/urlUtils.ts index 7e27bc1e..b5e19ce5 100644 --- a/src/urlUtils.ts +++ b/src/urlUtils.ts @@ -44,10 +44,6 @@ export function getVisitorsUrl( const serverApiPath = getVisitorsPath(region, visitorId); const queryString = serializeQueryStringParams(queryStringParameters); - if (queryString === '') { - return serverApiPath; - } - return `${serverApiPath}?${queryString}`; }