diff --git a/edivorce/apps/core/utils/efiling_court_locations.py b/edivorce/apps/core/utils/efiling_court_locations.py index a4915c28..394212dd 100644 --- a/edivorce/apps/core/utils/efiling_court_locations.py +++ b/edivorce/apps/core/utils/efiling_court_locations.py @@ -74,6 +74,12 @@ class EFilingCourtLocations(EFilingHubCallerBase): if response.status_code == 401: print(response.headers.get('WWW-Authenticate', '')) - return {"Error calling court locations API": {"status_code": "401", "text": "authentication failed"}} - - return {"Error calling court locations API": {"status_code": str(response.status_code), "text": response.text}} + return { + "Error calling court locations API": {"status_code": "401", "text": "authentication failed"}, + "Vancouver": {"address_1": "API Error", "postal": "APIERR", "location_id": "6011"} + } + + return { + "Error calling court locations API": {"status_code": str(response.status_code), "text": response.text}, + "Vancouver": {"address_1": "API Error", "postal": "APIERR", "location_id": "6011"} + }