Update location operator-related logic
This commit is contained in:
parent
5d040a1944
commit
9d920b1cf6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue