mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 23:59:40 +02:00
Fix: Fix unalble to reject automatched transfers (#2102)
Co-authored-by: Zach Gollwitzer <zach@maybe.co>
This commit is contained in:
parent
e517127062
commit
f235697178
2 changed files with 21 additions and 1 deletions
|
@ -38,7 +38,7 @@ class TransfersController < ApplicationController
|
|||
def update
|
||||
Transfer.transaction do
|
||||
update_transfer_status
|
||||
update_transfer_details
|
||||
update_transfer_details unless transfer_update_params[:status] == "rejected"
|
||||
end
|
||||
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue