Skip to content

Commit

Permalink
fix bug in telegram crud
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Oct 29, 2024
1 parent 6c9fdf8 commit d61b262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_app/db/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d61b262

Please sign in to comment.