diff --git a/BankServices/ParserService/app.py b/BankServices/ParserService/app.py index ac17f65..4eb4e0e 100644 --- a/BankServices/ParserService/app.py +++ b/BankServices/ParserService/app.py @@ -22,7 +22,6 @@ def update_parsed_data_to_mongo_database(mongo_provider, collected_data_dict: di if collected_data_dict: payload = collected_data_dict[filename] if payload: - print('filename, payload', filename, payload) mongo_provider.update_one( filter_query={"filename": filename}, update_data={"$set": {"parsed": payload, "stage": "parsed"}}, @@ -73,7 +72,6 @@ def app(): ) results = collect_excel_files_from_mongo_database(mongo_provider) if not results: - print("No results found.") return for result in results: diff --git a/BankServices/WriterService/app.py b/BankServices/WriterService/app.py index 2696a2d..95ab704 100644 --- a/BankServices/WriterService/app.py +++ b/BankServices/WriterService/app.py @@ -49,7 +49,7 @@ def write_parsed_data_to_account_records( new_account_record.save(db=db_session) mongo_provider.update_one( filter_query={"filename": file}, - update_data={"$set": {"stage": "completed"}}, + update_data={"$set": {"stage": "written"}}, )