mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-15 03:06:45 +03:00
Merge branch 'master' of github.com:Balshgit/mosgortrans
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user