Skip to content

Commit

Permalink
PC-351: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chidin194 committed Jan 18, 2024
1 parent f734a4e commit 6fb0aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion help_to_heat/frontdoor/epc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_access_token(self):

def get_address_and_rrn(self, building, postcode):
base_url = settings.EPC_API_BASE_URL
params = params = urllib.parse.urlencode({"postcode": postcode, "buildingNameOrNumber": building})
params = urllib.parse.urlencode({"postcode": postcode, "buildingNameOrNumber": building})
url = f"{base_url}/api/assessments/domestic-epcs/search?{params}"
return self.__api_call(url)

Expand Down

0 comments on commit 6fb0aad

Please sign in to comment.