diff --git a/management/server/networks/manager.go b/management/server/networks/manager.go index d2dbca6216a..4a7b3db775c 100644 --- a/management/server/networks/manager.go +++ b/management/server/networks/manager.go @@ -150,7 +150,7 @@ func (m *managerImpl) DeleteNetwork(ctx context.Context, accountID, userID, netw } for _, router := range routers { - event, err := m.routersManager.DeleteRouterInTransaction(ctx, transaction, accountID, networkID, router.ID) + event, err := m.routersManager.DeleteRouterInTransaction(ctx, transaction, accountID, userID, networkID, router.ID) if err != nil { return fmt.Errorf("failed to delete router: %w", err) }