mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
logger request
This commit is contained in:
parent
9680e291dc
commit
ad6de21aa9
@ -59,6 +59,7 @@ def bot_webhook() -> None:
|
||||
|
||||
async def webhook(request: web.Request) -> web.Response:
|
||||
data = await request.json()
|
||||
logger.info(data)
|
||||
Bot.set_current(dispatcher.bot)
|
||||
Dispatcher.set_current(dispatcher)
|
||||
tg_update = Update(**data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user