mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-09-11 13:00:40 +03:00
Merge branch 'master' of github.com:Balshgit/mosgortrans
This commit is contained in:
commit
8087d97fe7
@ -69,6 +69,7 @@ async def put_updates_on_queue(request: web.Request) -> web.Response:
|
||||
"""
|
||||
data = await request.json()
|
||||
tg_update = Update(**data)
|
||||
logger.info(tg_update)
|
||||
queue.put_nowait(tg_update)
|
||||
|
||||
return web.Response(status=HTTPStatus.ACCEPTED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user