add method to merge contacts

This commit is contained in:
2024-03-31 18:10:01 +02:00
parent 283bbb9a74
commit bf13860b40
3 changed files with 33 additions and 7 deletions
+2
View File
@@ -162,6 +162,8 @@ def accept_appointment_found(accepted_result_list: list):
def find_confirmation_contacts_for_today():
_all_mail_list = MONGO_STORE_MANAGER.get_destination_emails()
_all_appointments_today = MONGO_STORE_MANAGER.get_all_successful_items_for_day()
if len(_all_appointments_today) == 0:
_all_appointments_today = MONGO_STORE_MANAGER.get_all_successful_items_for_yesterday()
_mail_list_to_scan = []
for _item in _all_appointments_today:
for _mail in _all_mail_list: