mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Sync account after transaction import (#820)
This commit is contained in:
parent
32e647f0fb
commit
de53a50e45
5 changed files with 15 additions and 6 deletions
|
@ -56,6 +56,8 @@ class Import < ApplicationRecord
|
|||
end
|
||||
end
|
||||
|
||||
self.account.sync
|
||||
|
||||
update!(status: "complete")
|
||||
rescue => e
|
||||
update!(status: "failed")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue