mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Add post-sync hook (#1479)
This commit is contained in:
@@ -42,6 +42,10 @@ class PlaidItem < ApplicationRecord
|
||||
end
|
||||
end
|
||||
|
||||
def post_sync
|
||||
family.broadcast_refresh
|
||||
end
|
||||
|
||||
def destroy_later
|
||||
update!(scheduled_for_deletion: true)
|
||||
DestroyJob.perform_later(self)
|
||||
|
||||
Reference in New Issue
Block a user