diff --git a/app/jobs/resolution_proofing_job.rb b/app/jobs/resolution_proofing_job.rb index 44401a8914e..74a756c7319 100644 --- a/app/jobs/resolution_proofing_job.rb +++ b/app/jobs/resolution_proofing_job.rb @@ -79,7 +79,7 @@ def perform( document_capture_session_result_id: document_capture_session.result_id, encrypted_arguments:, service_provider_issuer:, - user_email: user_email_for_proofing(user), + user_email: user.first_email, user_uuid: user.uuid, ) end @@ -99,7 +99,7 @@ def make_vendor_proofing_requests( ) result = progressive_proofer.proof( applicant_pii: applicant_pii, - user_email: user_email_for_proofing(user), + user_email: user.first_email, threatmetrix_session_id: threatmetrix_session_id, request_ip: request_ip, ipp_enrollment_in_progress: ipp_enrollment_in_progress, @@ -119,10 +119,6 @@ def make_vendor_proofing_requests( ) end - def user_email_for_proofing(user) - user.confirmed_email_addresses.first.email - end - def log_threatmetrix_info(threatmetrix_result, user) logger_info_hash( name: 'ThreatMetrix',