diff --git a/app/main.py b/app/main.py index 58e52d9..dc7b408 100644 --- a/app/main.py +++ b/app/main.py @@ -62,12 +62,12 @@ async def tg_intgr_get(request: Request): mentions = re.findall(rf"\[USER=({bx_id})\]", comment) for _ in mentions: + logger.info("https://api.telegram.org/bot{TOKEN}/sendMessage?chat_id={tg_id}&text={comment}") requests.get( f"https://api.telegram.org/bot{TOKEN}/sendMessage?chat_id={tg_id}&text={comment}" ) return {"status": "success"} except Exception as e: - logger.info(comment) logger.info(e) return {"status": "error"}