fix: added tests(fixed)

This commit is contained in:
Subin Tom
2022-04-02 17:16:56 +05:30
parent 7ef54809be
commit e57e7bb02c
3 changed files with 202 additions and 1 deletions

View File

@@ -35,7 +35,6 @@ class CallLog(Document):
# Add Employee Name
if self.is_incoming_call():
# Taking the last 10 digits of the number
employee_number = strip_number(self.get("to"))
employee = get_employees_with_number(self.get("to"))
self.call_received_by = employee[0].get("name")