mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
move dispatcher in kwargs
This commit is contained in:
parent
6e81294685
commit
9315ab5961
1 changed files with 1 additions and 1 deletions
|
|
@ -162,6 +162,7 @@ class Dispatcher(Router):
|
|||
**self.workflow_data,
|
||||
**kwargs,
|
||||
"bot": bot,
|
||||
"dispatcher": self,
|
||||
},
|
||||
)
|
||||
handled = response is not UNHANDLED
|
||||
|
|
@ -515,7 +516,6 @@ class Dispatcher(Router):
|
|||
)
|
||||
|
||||
workflow_data = {
|
||||
"dispatcher": self,
|
||||
"bots": bots,
|
||||
**self.workflow_data,
|
||||
**kwargs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue