From 4ef34fc7639075ee633ecdd66c3ca6b33a0629e5 Mon Sep 17 00:00:00 2001 From: Addy Pathania Date: Mon, 17 Jun 2024 10:46:12 -0400 Subject: [PATCH] test 12 --- scripts/teams-notification.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/teams-notification.js b/scripts/teams-notification.js index a3cc54b..fce35a7 100644 --- a/scripts/teams-notification.js +++ b/scripts/teams-notification.js @@ -9,13 +9,14 @@ function transformPayload(payload) { const title = `JSS Release ${payload.tag_name}`; const releaseUrl = payload.html_url; const publishedBy = payload.author.login; + const body = payload.body; const teamsPayload = { "@type": "MessageCard", "@context": "http://schema.org/extensions", themeColor: "0076D7", title: title, - text: `**Release:** ${releaseUrl}\n\n**Published by:** ${publishedBy}`, + text: `**Release:** ${releaseUrl}\n\n**Published by:** ${publishedBy}\n\n**Changelog:**\n\n${body}`, }; return teamsPayload; }