diff --git a/main.py b/main.py index 9406314..432779b 100644 --- a/main.py +++ b/main.py @@ -63,7 +63,7 @@ def service_qualify(): "streetaddress": location.Locations.StreetAddress, "suburb": location.Locations.Suburb, "state": location.Locations.State, - "postcode": location.Locations.Postcode, + "postcode": int(location.Locations.Postcode), "country": location.Locations.Country, "plans": plan_list, }), HTTPStatus.OK @@ -99,7 +99,7 @@ def address_search(): results = [ { 'locid': addr.LocationIdentifier, - 'address': ','.join(( + 'address': ', '.join(( addr.UnitIdentifier, addr.StreetAddress, addr.Suburb,