fix filing-history URL

This commit is contained in:
bailey-coding
2026-02-18 11:12:58 +01:00
parent 9d0c87a226
commit a756064990

View File

@@ -70,7 +70,7 @@ def get_company(company_id):
def get_address_changes(company_id):
"""Get address changes for input company."""
url = "https://api.company-information.service.gov.uk/company/" + str(company_id) + "/filing-history/?category=address"
url = "https://api.company-information.service.gov.uk/company/" + str(company_id) + "/filing-history?category=address"
return make_request(url, company_id, 'company', 'address history')
def get_correspondance_address(officer_id):