From b18b23a7969aa042ba85257010c53a38a2721607 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Mon, 27 Apr 2026 14:33:40 -0400 Subject: [PATCH] 04/27 Updated fix Inspection start issue 2 --- app/routes/inspections.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/inspections.py b/app/routes/inspections.py index 4a40cd5..fe97352 100644 --- a/app/routes/inspections.py +++ b/app/routes/inspections.py @@ -256,11 +256,11 @@ def start(): inspection = Inspection( template_id = template.id, facility_id = form.facility_id.data, - area_id = form.area_id.data or None, + area_id = None, inspector_id = current_user.id, inspection_date = now_eastern(), status = 'in_progress', - notes = form.notes.data or None, + notes = None, parent_inspection_id = parent_id, ) db.session.add(inspection)