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
ad6de21aa9
commit
1557f7fcbd
@ -68,9 +68,7 @@ async def webhook(request: web.Request) -> web.Response:
|
|||||||
|
|
||||||
|
|
||||||
async def on_startup_gunicorn(app: web.Application) -> None:
|
async def on_startup_gunicorn(app: web.Application) -> None:
|
||||||
Bot.set_current(dispatcher.bot)
|
await bot.set_webhook(WEBHOOK_URL)
|
||||||
Dispatcher.set_current(dispatcher)
|
|
||||||
await dispatcher.bot.set_webhook(WEBHOOK_URL)
|
|
||||||
logger.info(f'Webhook set to {WEBHOOK_URL}')
|
logger.info(f'Webhook set to {WEBHOOK_URL}')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user