Skip to content

Commit e53e22f

Browse files
committed
add form_update to ignored events
- this was throwing an error through translation files in the audit service calls, so form.completed and submission.completed were not firing correctly.
1 parent 0a580d3 commit e53e22f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/submissions/generate_audit_trail.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def build_audit_trail(submission)
388388
composer.text(I18n.t('event_log'), font_size: 12, padding: [10, 0, 20, 0])
389389

390390
events_data = submission.submission_events.sort_by(&:event_timestamp).filter_map do |event|
391-
next if event.event_type.in?(%w[bounce_email complaint_email])
391+
next if event.event_type.in?(%w[bounce_email complaint_email form_update])
392392

393393
submitter = submission.submitters.find { |e| e.id == event.submitter_id }
394394
submitter_name =

0 commit comments

Comments
 (0)