From d7392c77fe31ed980aff88f184b6659f9f471db3 Mon Sep 17 00:00:00 2001 From: Jan Thijs <92784122+janthijs@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:52:57 +0200 Subject: [PATCH] stringify --- scripts/release-notifications/echo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release-notifications/echo.js b/scripts/release-notifications/echo.js index aff34993ee..2b0a8b045c 100644 --- a/scripts/release-notifications/echo.js +++ b/scripts/release-notifications/echo.js @@ -3,7 +3,7 @@ const args = process.argv.slice(2); const PATH = args[0].split('=')[1]; const HOST = args[1].split('=')[1]; -const post_data = { +const post_data = JSON.stringify({ type: 'message', attachments: [ { @@ -21,7 +21,7 @@ const post_data = { }, }, ], -}; +}); const post_options = { host: HOST,