expand network managers

This commit is contained in:
pascal
2026-06-05 15:15:04 +02:00
parent a2b0399212
commit 14f9754db7
6 changed files with 172 additions and 85 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ func (m *managerImpl) DeleteNetwork(ctx context.Context, accountID, userID, netw
var eventsToStore []func()
var snap *affectedpeers.Snapshot
change := affectedpeers.Change{NetworkIDs: []string{networkID}}
change := affectedpeers.Change{Networks: []*types.Network{network}}
err = m.store.ExecuteInTransaction(ctx, func(transaction store.Store) error {
// Load before the cascade deletes: pre-state still references the network.
var lerr error