File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function geoResponse(json) {
7878``` ts
7979// Query geolocations for multiple IP addresses and all fields
8080var geolocationParams = new GeolocationParams ();
81- geolocationParams .setIps ([' 1.1.1.1' , ' 2.2.2.2' , ' 3.3.3.3' ]);
81+ geolocationParams .setIPList ([' 1.1.1.1' , ' 2.2.2.2' , ' 3.3.3.3' ]);
8282
8383ipgeolocationApi .getGeolocation (geolocationParams , geoResponse );
8484function geoResponse(json ) {
@@ -87,7 +87,7 @@ function geoResponse(json) {
8787
8888// Query geolocations for multiple IP addresses but only 'geo' field
8989var geolocationParams = new GeolocationParams ();
90- geolocationParams .setIps ([' 1.1.1.1' , ' 2.2.2.2' , ' 3.3.3.3' ]);
90+ geolocationParams .setIPList ([' 1.1.1.1' , ' 2.2.2.2' , ' 3.3.3.3' ]);
9191geolocationParams .setFields (" geo" );
9292
9393ipgeolocationApi .getGeolocation (geolocationParams , geoResponse );
You can’t perform that action at this time.
0 commit comments