diff --git a/web_app/db/crud.py b/web_app/db/crud.py index a181e5d3..b8a2ffd8 100644 --- a/web_app/db/crud.py +++ b/web_app/db/crud.py @@ -470,7 +470,7 @@ def update_telegram_user(self, telegram_id: str, user_data: dict) -> None: :param user_data: dict :return: None """ - with self.get_session() as session: + with self.Session() as session: stmt = ( update(TelegramUser) .where(TelegramUser.telegram_id == telegram_id)