Skip to content

Commit

Permalink
remove email notification for now (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo authored Feb 14, 2024
1 parent 82298e9 commit 4e5076a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fyle_employee_imports/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e5076a

Please sign in to comment.