mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
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>
This commit is contained in:

committed by
GitHub

parent
10651baa67
commit
d4438c82e3
@@ -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,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user