Skip to content

Commit

Permalink
Resolving PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AShukla-GSA committed Nov 26, 2024
1 parent d7995e3 commit 7e7eb6e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/jobs/socure_docv_results_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ def analytics
end

def log_verification_request(docv_result_response:, vendor_request_time_in_ms:)
return if docv_result_response.nil? || document_capture_session.nil?

analytics.idv_socure_verification_data_requested(
**docv_result_response.to_h.merge(
docv_transaction_token: document_capture_session.socure_docv_transaction_token,
Expand All @@ -62,8 +60,6 @@ def document_capture_session
end

def rate_limiter
return unless document_capture_session

@rate_limiter ||= RateLimiter.new(
user: document_capture_session.user,
rate_limit_type: :idv_doc_auth,
Expand Down

0 comments on commit 7e7eb6e

Please sign in to comment.