From d6a9396b5f845d4273129b170c9a61210540945c Mon Sep 17 00:00:00 2001 From: Ilya Taratukhin Date: Fri, 25 Mar 2022 19:42:35 +0300 Subject: [PATCH] fix: typo --- src/urlUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/urlUtils.ts b/src/urlUtils.ts index f1396007..efe831be 100644 --- a/src/urlUtils.ts +++ b/src/urlUtils.ts @@ -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; @@ -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'); }