fix(notif): show event in pop up notification for slack (#2413)

* fix(notif): show event in pop up notification for slack

fix #2408

* fix(notifs): suggested changes

* fix(notif): add fallback text to slack embed builder

Co-authored-by: Ryan Cohen <ryan@sct.dev>
pull/2426/head
Danshil Kokil Mungur 2 years ago committed by GitHub
parent 10651baa67
commit d4438c82e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
};
}

Loading…
Cancel
Save