diff options
Diffstat (limited to 'DomainInspectionService.swift')
| -rw-r--r-- | DomainInspectionService.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DomainInspectionService.swift b/DomainInspectionService.swift index 3ebfe09..730d172 100644 --- a/DomainInspectionService.swift +++ b/DomainInspectionService.swift @@ -609,10 +609,10 @@ struct DomainInspectionService { private func confidenceForGeolocation(result: IPGeolocation?) -> ConfidenceLevel { guard let result else { return .low } - if result.city != nil && result.country_name != nil && result.latitude != nil && result.longitude != nil { + if result.city != nil && result.countryName != nil && result.latitude != nil && result.longitude != nil { return .high } - if result.country_name != nil || result.org != nil { + if result.countryName != nil || result.org != nil { return .medium } return .low |
