From a74ffc06719ac16320e382a7c76342d6401d011b Mon Sep 17 00:00:00 2001 From: Sergey Date: Sat, 16 May 2026 16:02:09 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20form-data=20?= =?UTF-8?q?=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20JSON=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=81=D0=BE=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=B8=D0=BC?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8=20=D1=81=20=D0=BF=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D1=81=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.py b/monitor.py index 1f67eca..e6768e7 100644 --- a/monitor.py +++ b/monitor.py @@ -53,7 +53,7 @@ async def send_telegram(message: str) -> None: payload = {"chat_id": TELEGRAM_CHAT_ID, "text": message, "parse_mode": "HTML"} async with httpx.AsyncClient(timeout=10) as client: try: - resp = await client.post(url, json=payload) + resp = await client.post(url, data=payload) resp.raise_for_status() log.info("Telegram: сообщение отправлено") except Exception as exc: