From 4e5076a015bf009aa5b2d4281a4eb9633196cc61 Mon Sep 17 00:00:00 2001 From: Ashutosh singh <55102089+Ashutosh619-sudo@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:02:57 +0530 Subject: [PATCH] remove email notification for now (#177) --- fyle_employee_imports/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fyle_employee_imports/base.py b/fyle_employee_imports/base.py index bbec4e41..5096c1c3 100644 --- a/fyle_employee_imports/base.py +++ b/fyle_employee_imports/base.py @@ -105,9 +105,9 @@ def get_employee_and_approver_payload(self, hrms_employees): incomplete_employee_count += 1 incomplete_employees.append({'name': employee.detail['full_name'], 'id':employee.destination_id}) - admin_email = self.get_admin_email() - if incomplete_employee_count > 0: - send_failure_notification_email(employees=incomplete_employees, number_of_employees=incomplete_employee_count, admin_email=admin_email) + # admin_email = self.get_admin_email() + # if incomplete_employee_count > 0: + # send_failure_notification_email(employees=incomplete_employees, number_of_employees=incomplete_employee_count, admin_email=admin_email) existing_approver_emails = ExpenseAttribute.objects.filter( org_id=self.org_id, attribute_type='EMPLOYEE', value__in=approver_emails