#1520 Fixed event context resolving for the callback query (#1521)

* #1520 Fixed event context resolving for the callback query that is coming from the business account

* Simplify some conditions

* Added changelog

* Fixed AttributeError
This commit is contained in:
Alex Root Junior 2024-07-06 20:46:45 +03:00 committed by GitHub
parent 46e033e6da
commit 7f47609585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 24 additions and 17 deletions

View file

@ -4,6 +4,7 @@ from os import getenv
from typing import Any, Dict, Union
from aiohttp import web
from finite_state_machine import form_router
from aiogram import Bot, Dispatcher, F, Router
from aiogram.client.session.aiohttp import AiohttpSession
@ -18,7 +19,6 @@ from aiogram.webhook.aiohttp_server import (
TokenBasedRequestHandler,
setup_application,
)
from finite_state_machine import form_router
main_router = Router()