From e76c6303f61ac6e359833438163bf59e6cbca0c7 Mon Sep 17 00:00:00 2001 From: Andrey Bakanovsky Date: Wed, 13 Sep 2023 00:11:41 +0300 Subject: [PATCH] feat(weekly topup): fix tests --- app/controllers/accounts_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index b6a4863e..9214ad03 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -23,7 +23,6 @@ def update end def create - params[:account][:automatic_topup_configs_attributes]['0'][:from_account_id] = current_user.account.id Account.create!(parent: current_user.account, **account_params) redirect_to my_account_path end