Skip to content

Commit 1e654c2

Browse files
committed
fix typo
1 parent 92b632c commit 1e654c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ipinfoWrapper.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class IPinfoWrapper {
3333
private countries: any;
3434
private countriesFlags: any;
3535
private countriesCurrencies: any;
36-
private continets: any;
36+
private continents: any;
3737
private euCountries: Array<string>;
3838
private cache: Cache;
3939
private timeout: number;
@@ -54,7 +54,7 @@ export default class IPinfoWrapper {
5454
this.countries = countries;
5555
this.countriesFlags = countriesFlags;
5656
this.countriesCurrencies = countriesCurrencies;
57-
this.continets = continents;
57+
this.continents = continents;
5858
this.euCountries = euCountries;
5959
this.cache = cache ? cache : new LruCache();
6060
this.timeout =
@@ -127,7 +127,7 @@ export default class IPinfoWrapper {
127127
ipinfo.countryCode
128128
];
129129
ipinfo.continent =
130-
this.continets[ipinfo.countryCode];
130+
this.continents[ipinfo.countryCode];
131131
ipinfo.isEU = this.euCountries.includes(
132132
ipinfo.countryCode
133133
);

0 commit comments

Comments
 (0)