Skip to content

Commit

Permalink
fix: remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
ilfa committed Jan 25, 2023
1 parent a555878 commit 3fa05d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/urlUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ export function getVisitorsUrl(
const serverApiPath = getVisitorsPath(region, visitorId);
const queryString = serializeQueryStringParams(queryStringParameters);

if (queryString === '') {
return serverApiPath;
}

return `${serverApiPath}?${queryString}`;
}

Expand Down

0 comments on commit 3fa05d6

Please sign in to comment.