06/19 Update notification to everyone regardless who did the inspection

This commit is contained in:
2026-06-19 05:52:10 -04:00
parent d21ad36bf5
commit f2934a08b9
-1
View File
@@ -578,7 +578,6 @@ def execute(inspection_id):
link = inspection_link, link = inspection_link,
inspection_id = inspection.id, inspection_id = inspection.id,
facility_id = inspection.facility_id, facility_id = inspection.facility_id,
exclude_user_ids = {current_user.id},
) )
db.session.commit() # Single atomic commit: inspection fields + notification rows db.session.commit() # Single atomic commit: inspection fields + notification rows
log_action(ACTION_UPDATE, 'Inspection', inspection.id, log_action(ACTION_UPDATE, 'Inspection', inspection.id,