Я случайно букву поставил в репозитории и убрал self из db_manager

This commit is contained in:
root
2025-11-27 19:52:48 +03:00
parent a001694608
commit 6a701da4f7
2 changed files with 3 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ class PostgresRepository:
except SQLAlchemyError as e:
self.logger.error(f"Ошибка при поиске плана: {plan_name}: {e}")
await session.rollback()
return Noneэ
return None
async def get_plan_by_id(self, plan_id: int) -> Plan | None:
"""