From 49a999885fd23e59555429dbc111e3a3d87fd164 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 8 Aug 2026 15:32:26 -0500 Subject: Add CodingKeys for external JSON decodables --- DomainInspectionService.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DomainInspectionService.swift') 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 -- cgit v1.2.3