|
|
@ -63,7 +63,7 @@ def service_qualify(): |
|
|
"streetaddress": location.Locations.StreetAddress, |
|
|
"streetaddress": location.Locations.StreetAddress, |
|
|
"suburb": location.Locations.Suburb, |
|
|
"suburb": location.Locations.Suburb, |
|
|
"state": location.Locations.State, |
|
|
"state": location.Locations.State, |
|
|
"postcode": location.Locations.Postcode, |
|
|
"postcode": int(location.Locations.Postcode), |
|
|
"country": location.Locations.Country, |
|
|
"country": location.Locations.Country, |
|
|
"plans": plan_list, |
|
|
"plans": plan_list, |
|
|
}), HTTPStatus.OK |
|
|
}), HTTPStatus.OK |
|
|
@ -99,7 +99,7 @@ def address_search(): |
|
|
results = [ |
|
|
results = [ |
|
|
{ |
|
|
{ |
|
|
'locid': addr.LocationIdentifier, |
|
|
'locid': addr.LocationIdentifier, |
|
|
'address': ','.join(( |
|
|
'address': ', '.join(( |
|
|
addr.UnitIdentifier, |
|
|
addr.UnitIdentifier, |
|
|
addr.StreetAddress, |
|
|
addr.StreetAddress, |
|
|
addr.Suburb, |
|
|
addr.Suburb, |
|
|
|