Commit 68b151f
fix(notifications): break CommentToIU so it doesn't fall through to default
getNotificationParties' CommentToIU case had no break and fell through to default,
which strict-parses me().id and task.assigneeId — throwing (ZodError "Required") when
me() returns null or the task is unassigned. The comment job only consumes
recipientIds/senderCompanyId (both set in the CommentToIU case), so the fallthrough's
values were unused anyway.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a716d21 commit 68b151f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
604 | 605 | | |
605 | 606 | | |
606 | 607 | | |
| |||
0 commit comments