From 754748a86935727b439bd1a274dfc7c9c4d0640b Mon Sep 17 00:00:00 2001 From: Alan Woodman Date: Wed, 13 Nov 2024 00:04:25 +0800 Subject: [PATCH] Signed-off-by: Alan Woodman --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,