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>
This commit is contained in:
Ido Ophir
2025-04-17 09:14:20 +03:00
committed by GitHub
parent 7c00e7eccc
commit 57f9098327

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",