Skip to content

Commit

Permalink
Allow for extra arguments to `idv_doc_auth_verify_polling_wait_visite…
Browse files Browse the repository at this point in the history
…d` event (#11153)

The `idv_doc_auth_verify_polling_wait_visited` gets logged when a polling event occurs on the verify info step. This event does not have any extra attributes that it needs to log. As a result we left off the extra arguments when adding it.

Leaving off the extra arguments led to an issue with the `AnalyticsEventsEnhancer`. This adds attributes to the events that are prefixed with `idv_` when they are called. A result of this was a `ArgumentError` for this event since it did not have the extra arguments for these attributes.

[skip changelog]
  • Loading branch information
jmhooper committed Aug 27, 2024
1 parent ce4c964 commit 9e669fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/analytics_events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1648,8 +1648,8 @@ def idv_doc_auth_submitted_pii_validation(

# User visits IdV verify step waiting on a resolution proofing job result
# @identity.idp.previous_event_name IdV: doc auth verify visited
def idv_doc_auth_verify_polling_wait_visited
track_event(:idv_doc_auth_verify_polling_wait_visited)
def idv_doc_auth_verify_polling_wait_visited(**extra)
track_event(:idv_doc_auth_verify_polling_wait_visited, **extra)
end

# rubocop:disable Layout/LineLength
Expand Down

0 comments on commit 9e669fa

Please sign in to comment.