From 5f51b3cadc03a63c1fbbb07d10cb88a4a3020421 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Thu, 16 May 2024 11:57:15 +0300 Subject: [PATCH] add link to task --- app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main.py b/app/main.py index 223f8d9..578eb19 100644 --- a/app/main.py +++ b/app/main.py @@ -58,6 +58,7 @@ async def tg_intgr_get(request: Request): data = requests.get(get_comment_hook) data_json = data.json() comment = data_json["result"]["POST_MESSAGE"] + comment += f'\nhttps://crm.svs-tech.pro/company/personal/user/{bx_id}/tasks/task/view/{task_id}/' mentions = re.findall(rf"\[USER=({bx_id})\]", comment) for _ in mentions: