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(