Skip to content

Commit

Permalink
refactor(analytics): use flow.eligibility_verifier property instead
Browse files Browse the repository at this point in the history
this is a more accurate value, and matches the internal EnrollmentEvent
  • Loading branch information
thekaveman committed Sep 19, 2024
1 parent 86cf78f commit bf2632a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/core/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, request, event_type, **kwargs):
agency = session.agency(request)
agency_name = agency.long_name if agency else None
flow = session.flow(request)
verifier_name = flow.system_name if flow else None
verifier_name = flow.eligibility_verifier if flow else None
enrollment_flows = [flow.system_name] if flow else None

self.update_event_properties(
Expand Down

0 comments on commit bf2632a

Please sign in to comment.