1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Sync hierarchy updates (#2087)

* Add parent sync orchestration

* Pass sync object to dependents
This commit is contained in:
Zach Gollwitzer 2025-04-11 12:13:46 -04:00 committed by GitHub
parent 9fa3698823
commit 8648f11413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 111 additions and 30 deletions

View file

@ -45,7 +45,7 @@ module Accountable
end
end
def post_sync
def post_sync(sync)
broadcast_replace_to(
account,
target: "chart_account_#{account.id}",