mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix(scene): apply observer middleware for scene actions
This commit is contained in:
parent
383d76e7de
commit
729a17903e
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ class SceneWizard:
|
|||
await action_config[event_type].call(self.scene, self.event, **{**self.data, **kwargs})
|
||||
return True
|
||||
|
||||
async def _actual_handler(event, data):
|
||||
async def _actual_handler(event, **data):
|
||||
return await action_config[event_type].call(self.scene, event, **data)
|
||||
|
||||
await observer.wrap_outer_middleware(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue