We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57710a1 commit 0cfb131Copy full SHA for 0cfb131
src/main/java/io/ipgeolocation/api/GeolocationSecurity.java
@@ -27,7 +27,7 @@ public class GeolocationSecurity {
27
this.threatScore = json.getInt("threat_score");
28
this.tor = json.getBoolean("is_tor");
29
this.proxy = json.getBoolean("is_proxy");
30
- this.proxyType = json.getString("proxy_type");
+ this.proxyType = json.optString("proxy_type");
31
this.anonymous = json.getBoolean("is_anonymous");
32
this.knownAttacker = json.getBoolean("is_known_attacker");
33
this.bot = json.getBoolean("is_bot");
0 commit comments