mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-11-18 18:03:47 +00:00
fix(nudge): honor the preferred delivery channel
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
This commit is contained in:
@@ -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}.`
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user