fix(nudge): honor the preferred delivery channel

Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
This commit is contained in:
Rudy Celekli
2026-10-10 13:25:15 -04:00
parent f99f6aa910
commit 73e9609c54
+1 -1
View File
@@ -51,7 +51,7 @@ export function generateSprintNudge(pendingTasks: Task[], userProfile: UserPsych
// Standard execution for a standard profile
return {
channel: 'EMAIL',
channel: userProfile.preferredChannel,
message: `You have ${pendingTasks.length} pending items. Here is the highest priority: ${pendingTasks[0].title}.`
};
}