Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions app/services/idv/steps/doc_auth_base_step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,6 @@ def user_id
current_user ? current_user.id : user_id_from_token
end

def add_cost(token, transaction_id: nil)
Db::SpCost::AddSpCost.call(current_sp, 2, token, transaction_id: transaction_id)
end

def add_costs(result)
Db::AddDocumentVerificationAndSelfieCosts.
new(user_id: user_id,
service_provider: current_sp).
call(result)
end

def sp_session
session.fetch(:sp, {})
end
Expand Down