Drop no-op log in Generate node

The no-active-accounts branch only logged and took no action; the
platforms loop already handles an empty active-account set.
This commit is contained in:
Paulo Castellano 2026-06-13 14:03:59 -03:00
parent e77ba84f5d
commit ed5a757c4f

View file

@ -48,13 +48,6 @@ public function __invoke(AutomationRun $run, array $config): NodeRunResult
->get()
->keyBy('id');
if ($accountIds !== [] && $activeAccounts->isEmpty()) {
Log::warning('RunGenerateNode: no active social accounts found, skipping account assignment', [
'automation_id' => $run->automation_id,
'social_account_ids' => $accountIds,
]);
}
// Per-automation toggle: when off, the brand persona/voice is NOT
// injected, so the post stays faithful to a third-party source (news /
// RSS curation) instead of being rewritten in the brand's voice.