From a73c8d8285005f2779b8aa99194c4dcf8d41a1f0 Mon Sep 17 00:00:00 2001 From: jiangweidong <1053570670@qq.com> Date: Fri, 25 Oct 2024 14:53:29 +0800 Subject: [PATCH] fix: Wechat ticket message some url cannot clicked --- apps/tickets/notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tickets/notifications.py b/apps/tickets/notifications.py index 6f5b80ee1..3b48cdec7 100644 --- a/apps/tickets/notifications.py +++ b/apps/tickets/notifications.py @@ -43,8 +43,8 @@ class BaseTicketMessage(UserMessage): def get_wecom_context(self): ticket_detail_url = wecom_tool.wrap_redirect_url( - [self.get_ticket_detail_url(external=False)] - )[0] + self.get_ticket_detail_url(external=False) + ) return {'ticket_detail_url': ticket_detail_url} def gen_html_string(self, **other_context):