fix: with_debug_recipient() silently drops debug emails when user_id is None or empty string (#33373)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com>
This commit is contained in:
Ethan T.
2026-03-13 15:35:02 +08:00
committed by GitHub
parent 97776eabff
commit 8b40a89add
2 changed files with 5 additions and 5 deletions

View File

@ -952,7 +952,7 @@ class WorkflowService:
delivery_method = apply_debug_email_recipient(
delivery_method,
enabled=True,
user_id=account.id or "",
user_id=account.id,
)
variable_pool = self._build_human_input_variable_pool(