1
0
Fork 0
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:
Zach Gollwitzer 2024-05-30 22:06:32 -04:00 committed by GitHub
parent 32e647f0fb
commit de53a50e45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 15 additions and 6 deletions

View file

@ -56,6 +56,8 @@ class Import < ApplicationRecord
end
end
self.account.sync
update!(status: "complete")
rescue => e
update!(status: "failed")