Skip to content

Commit bde7b0b

Browse files
committed
remove wider pii logs
1 parent d74a0f0 commit bde7b0b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lambdas/id_sync/src/pds_details.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def pds_get_patient_details(nhs_number: str) -> dict:
2727
)
2828
pds_service = PdsService(authenticator, pds_env)
2929
patient = pds_service.get_patient_details(nhs_number)
30-
logger.info("get patient details. response: %s", patient)
3130
return patient
3231
except Exception as e:
3332
msg = f"Error getting PDS patient details for {nhs_number}"

lambdas/shared/src/common/pds_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def get_patient_details(self, patient_id) -> dict | None:
2727
response = requests.get(f"{self.base_url}/{patient_id}", headers=request_headers, timeout=5)
2828

2929
if response.status_code == 200:
30-
logger.info(f"PDS. Response: {response.json()}")
3130
return response.json()
3231
elif response.status_code == 404:
3332
logger.info(f"PDS. Patient not found for ID: {patient_id}")

0 commit comments

Comments
 (0)