Skip to content

Commit 191b480

Browse files
committed
Rename submission_email_sent event to submission_sent
In future the send submission job could send submissions by methods other than email, so the name of this event should be more generic.
1 parent 090b293 commit 191b480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/send_submission_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def perform(submission)
1818
)
1919

2020
milliseconds_since_scheduled = (Time.current - scheduled_at_or_enqueued_at).in_milliseconds.round
21-
EventLogger.log_form_event("submission_email_sent", { milliseconds_since_scheduled: })
21+
EventLogger.log_form_event("submission_sent", { milliseconds_since_scheduled: })
2222
CloudWatchService.record_submission_sent_metric(milliseconds_since_scheduled)
2323
rescue StandardError
2424
CloudWatchService.record_job_failure_metric(self.class.name)

0 commit comments

Comments
 (0)