diff --git a/src/overhaul_activity/service.py b/src/overhaul_activity/service.py index 31c7a04..088d7bc 100644 --- a/src/overhaul_activity/service.py +++ b/src/overhaul_activity/service.py @@ -137,7 +137,7 @@ async def get_all( return equipments async def get_standard_scope_by_session_id(*, db_session: DbSession, overhaul_session_id: UUID, collector_db: CollectorDbSession): - overhaul = await get_session(db_session=db_session, overhaul_session_id=calculation.overhaul_session_id) + overhaul = await get_session(db_session=db_session, overhaul_session_id=overhaul_session_id) prev_oh_scope = await get_prev_oh(db_session=db_session, overhaul_session=overhaul) query = (