mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 03:08:51 +00:00
Merge pull request #140 from Forevka69/dev-2.x
Send data from middlewares to filters
This commit is contained in:
commit
5d880e6f65
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class Handler:
|
|||
try:
|
||||
for handler_obj in self.handlers:
|
||||
try:
|
||||
data.update(await check_filters(handler_obj.filters, args))
|
||||
data.update(await check_filters(handler_obj.filters, args + (data,)))
|
||||
except FilterNotPassed:
|
||||
continue
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue