diff options
Diffstat (limited to 'scripts/notify')
-rwxr-xr-x | scripts/notify/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/notify/index.js b/scripts/notify/index.js index 98d406cf0..7dd8a3751 100755 --- a/scripts/notify/index.js +++ b/scripts/notify/index.js @@ -163,9 +163,9 @@ async function run() { } const content = await generateMessage(); - await fetch(JSON.stringify({ content }), { - url: `${process.env.DISCORD_WEBHOOK}?wait=true`, + await fetch(`${process.env.DISCORD_WEBHOOK}?wait=true`, { method: 'POST', + body: JSON.stringify({ content }), headers: { 'content-type': 'application/json', }, |