From 4d98a2623e443be5c17ea7c83262bcfdbeeca156 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 28 May 2024 10:39:57 +0300 Subject: [PATCH] logger --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.py b/app/main.py index d26fad3..be71663 100644 --- a/app/main.py +++ b/app/main.py @@ -59,6 +59,8 @@ async def tg_intgr_get(request: Request): 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) + logger.info(comment) + logger.info(mentions) for _ in mentions: logger.info("https://api.telegram.org/bot{TOKEN}/sendMessage?chat_id={tg_id}&text={comment}") requests.get(