Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gimmyxd committed Jan 30, 2025
1 parent f830bc1 commit 7f37003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/directory/v3/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ export class DirectoryV3 {
const getServiceUrl = (baseServiceUrl: string) => {
const scheme = "https://";

const serviceUrlMath = baseServiceUrl?.match(ADDRESS_REGEX);
return serviceUrlMath ? baseServiceUrl : `${scheme}${baseServiceUrl}`;
const serviceUrlMatch = baseServiceUrl.match(ADDRESS_REGEX);
return serviceUrlMatch ? baseServiceUrl : `${scheme}${baseServiceUrl}`;
};

const createTransport = (
Expand Down

0 comments on commit 7f37003

Please sign in to comment.