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