diff --git a/server/lib/notifications/agents/slack.ts b/server/lib/notifications/agents/slack.ts index eede9f094..ca10c269c 100644 --- a/server/lib/notifications/agents/slack.ts +++ b/server/lib/notifications/agents/slack.ts @@ -39,6 +39,7 @@ interface EmbedBlock { } interface SlackBlockEmbed { + text: string; blocks: EmbedBlock[]; } @@ -201,6 +202,7 @@ class SlackAgent } return { + text: payload.event ?? payload.subject, blocks, }; }