Skip to content

Commit

Permalink
fixup! adapt financial transaction type for online payment provider
Browse files Browse the repository at this point in the history
  • Loading branch information
yksflip committed Apr 5, 2024
1 parent ee6310a commit a0d1180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/financial_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def initialize_financial_transaction_type
def save_and_update_ordergroup_balance
ActiveRecord::Base.transaction do
yield
ordergroup.update_balance!
ordergroup.update_balance! if ordergroup
end
end
end

0 comments on commit a0d1180

Please sign in to comment.