From f6cb984f6933198f310d5a221b7f067ec2cfc946 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Tue, 7 May 2024 12:50:17 +0300 Subject: [PATCH] request method --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 71fcd55..6e5e8f9 100644 --- a/app/main.py +++ b/app/main.py @@ -37,7 +37,7 @@ async def intgr(request: Request): return {"status": "success"} -@app.post("/integration_tg") +@app.all("/integration_tg") async def tg_intgr(request: Request): body = await request.json() logger.info(body)