diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index d8e3003d..2efa1007 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -24,6 +24,8 @@ async def trigger_plan(body: PlanTriggerRequest): plan_input = read_csv_from_s3(bucket_name=bucket_name, filepath=body.trigger_file_path) print(plan_input) + print(get_settings().EPC_AUTH_TOKEN) + epc_client = EpcClient(auth_token=get_settings().EPC_AUTH_TOKEN) input_properties = [ Property(postcode=config['postcode'], address1=config['address'], epc_client=epc_client)