Browse Source

Signed-off-by: Alan Woodman <alan@awoodman.net>

master
Alan Woodman 1 year ago
parent
commit
754748a869
  1. 4
      main.py

4
main.py

@ -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,

Loading…
Cancel
Save