Used the correct property names for a call object (#431)

Used 'rank' instead of 'level' to maintain uniformity with other portions of the code

Co-authored-by: Prab <prab.missier@gmail.com>
pull/1079/head
Ido Ophir 2025-04-17 09:14:20 +03:00 committed by GitHub
parent 7c00e7eccc
commit 57f9098327
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
" super(Operator, self).__init__(employee_id, name, Rank.OPERATOR)\n",
"\n",
" def escalate_call(self):\n",
" self.call.level = Rank.SUPERVISOR\n",
" self.call.rank = Rank.SUPERVISOR\n",
" self._escalate_call()\n",
"\n",
"\n",
@ -120,7 +120,7 @@
" super(Operator, self).__init__(employee_id, name, Rank.SUPERVISOR)\n",
"\n",
" def escalate_call(self):\n",
" self.call.level = Rank.DIRECTOR\n",
" self.call.rank = Rank.DIRECTOR\n",
" self._escalate_call()\n",
"\n",
"\n",