Skip to content

Commit

Permalink
update form params to be correct values
Browse files Browse the repository at this point in the history
  • Loading branch information
s-caso committed Apr 8, 2024
1 parent b2a985c commit 38c3e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/meb_api/lib/dgi/submission/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def update_dd_params(params, dd_params)
check_masking = account_number&.include?('*')

if check_masking && Flipper.enabled?(:show_dgi_direct_deposit_1990EZ, @current_user)
params[:direct_deposit][:account_number] =
params[:direct_deposit][:direct_deposit_account_number] =
dd_params&.payment_account ? dd_params.payment_account[:account_number] : nil
params[:direct_deposit][:routing_number] =
params[:direct_deposit][:direct_deposit_routing_number] =
dd_params&.payment_account ? dd_params.payment_account[:routing_number] : nil
end

Expand Down

0 comments on commit 38c3e9d

Please sign in to comment.