Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ilfa committed Mar 25, 2022
1 parent 6d08efe commit d6a9396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/urlUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Region, VisitorHistoryFilter } from './types';

const euRegionUrl = 'https://eu.api.fpjs.io/';
const apRegionUrl = 'https://ap.api.fpjs.io';
const globaRegionUrl = 'https://api.fpjs.io/';
const globalRegionUrl = 'https://api.fpjs.io/';

type QueryStringParameters = VisitorHistoryFilter & {
api_key?: string;
Expand Down Expand Up @@ -42,7 +42,7 @@ function getServerApiUrl(region: Region): string {
case Region.AP:
return apRegionUrl;
case Region.Global:
return globaRegionUrl;
return globalRegionUrl;
default:
throw new Error('Unsupported region');
}
Expand Down

0 comments on commit d6a9396

Please sign in to comment.