mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2025-12-15 03:06:45 +03:00
reworked to docker and selenoid
This commit is contained in:
@@ -65,6 +65,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