mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
web.run_app doesn't wait for loop kwarg
Fix error: run_app() got an unexpected keyword argument 'loop'
This commit is contained in:
parent
dfcc59d349
commit
23fc14a7a4
1 changed files with 1 additions and 1 deletions
|
|
@ -87,5 +87,5 @@ def start_webhook(dispatcher, webhook_path, *, loop=None, skip_updates=None,
|
||||||
app.on_startup.append(_wh_startup)
|
app.on_startup.append(_wh_startup)
|
||||||
app.on_shutdown.append(_wh_shutdown)
|
app.on_shutdown.append(_wh_shutdown)
|
||||||
|
|
||||||
web.run_app(app, loop=loop, **kwargs)
|
web.run_app(app, **kwargs)
|
||||||
return app
|
return app
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue