From 729a17903e89959fe58c5d0b0a47263d7eb4723a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D0=B4=D0=B8=D0=BC=20=D0=A5=D1=80=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Mon, 14 Apr 2025 23:01:24 +0300 Subject: [PATCH] fix(scene): apply observer middleware for scene actions --- aiogram/fsm/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/fsm/scene.py b/aiogram/fsm/scene.py index 43e851ad..f92bc986 100644 --- a/aiogram/fsm/scene.py +++ b/aiogram/fsm/scene.py @@ -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(