mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-10 17:53:17 +00:00
Change handler context key
This commit is contained in:
parent
59cecdbd6a
commit
9bb9177e28
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class Handler:
|
|||
if await check_filters(filters, args):
|
||||
try:
|
||||
if self.middleware_key:
|
||||
context.set_value('$handler', handler)
|
||||
context.set_value('handler', handler)
|
||||
await self.dispatcher.middleware.trigger(f"process_{self.middleware_key}", args)
|
||||
response = await handler(*args)
|
||||
if results is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue