Skip to content

Commit

Permalink
stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
janthijs committed Oct 3, 2023
1 parent 117e6a4 commit d7392c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release-notifications/echo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand All @@ -21,7 +21,7 @@ const post_data = {
},
},
],
};
});

const post_options = {
host: HOST,
Expand Down

0 comments on commit d7392c7

Please sign in to comment.