From 9d920b1cf6e77af9b7f2ed3334dda36f05f7d68a Mon Sep 17 00:00:00 2001 From: codeking Date: Fri, 7 Nov 2025 02:14:22 +0100 Subject: [PATCH] Update location operator-related logic --- core/services/WebServiceApiService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/services/WebServiceApiService.py b/core/services/WebServiceApiService.py index d91435c..d7df3cc 100644 --- a/core/services/WebServiceApiService.py +++ b/core/services/WebServiceApiService.py @@ -72,7 +72,7 @@ class WebServiceApiService: if response.status_code == requests.codes.ok: for location in response.json()['data']: - locations.append(Location(location['country']['code'], location['code'], location['id'], location['country']['name'], location['name'], location['time_zone']['code'], location['operator']['id'], location['provider']['name'])) + locations.append(Location(location['country']['code'], location['code'], location['id'], location['country']['name'], location['name'], location['time_zone']['code'], location['operator_id'], location['provider']['name'])) return locations