From 5aaa26d503e212789be07f0e2dd3892a10275e04 Mon Sep 17 00:00:00 2001 From: SDE Date: Fri, 11 Aug 2023 14:20:01 +0300 Subject: [PATCH] 0.2.16 chat v2 --- ChatServiceApp/js_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChatServiceApp/js_views.py b/ChatServiceApp/js_views.py index 5be4a62..8bfd8b4 100644 --- a/ChatServiceApp/js_views.py +++ b/ChatServiceApp/js_views.py @@ -76,9 +76,9 @@ def update_chat_ajax(request): }) msgs = get_messages_for_ticket(ticket) - Dict = get_ticketsDict_for_staff(request.user) + context_Dict = get_ticketsDict_for_staff(request.user) tickets_list_html = render_to_string( - 'blocks/profile/b_list_of_tickets_support_chat.html', res_Dict, request=request) + 'blocks/profile/b_list_of_tickets_support_chat.html', context_Dict, request=request) res_Dict.update({'tickets_list_html': tickets_list_html}) else: msgs = get_msgs_for_chat_w_users(sender, receiver)