Skip to content

Commit 6a07515

Browse files
committed
TODO Return True
1 parent ac69045 commit 6a07515

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lambdas/id_sync/src/record_processor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def process_record(event_record: AwsLambdaSqsEventRecord):
1515
id = get_id(event_record.body)
1616

1717
if id:
18+
# TODO This code is a placeholder for checking if records exist in the database - defaulting to True for now
1819
exists = check_records_exist(id)
1920

2021
if exists:
@@ -39,7 +40,7 @@ def process_record(event_record: AwsLambdaSqsEventRecord):
3940
def check_records_exist(id: str) -> bool:
4041
# TODO: Implement logic to check if records exist in the database
4142
logger.info(f"TODO Check if records exist for {id}")
42-
return False
43+
return True
4344

4445

4546
def update_patient_index(old_id: str, new_id: str):

0 commit comments

Comments
 (0)