06/19 Update notification to everyone regardless who did the inspection
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user