From 8064cf083ca276b601ecb5aa03983100ff73aa1f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 8 May 2024 10:46:25 -0600 Subject: [PATCH] Remove "New Alert" title from ntfyBody object in index.js --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index f94514c..236471b 100644 --- a/index.js +++ b/index.js @@ -171,7 +171,6 @@ xmpp.on("stanza", (stanza) => { ntfyBody = { "topic": `${config.ntfy.prefix}${fromChannel}`, "message": bodyData.string, - "title": "New Alert", "tags": [`Timestamp: ${product_id.timestamp}`, `Station: ${product_id.station}`, `WMO: ${product_id.wmo}`, `PIL: ${product_id.pil}`, `Channel: ${fromChannel}`], "priority": 3, "actions": [{ "action": "view", "label": "Product", "url": bodyData.url }, { "action": "view", "label": "Product Text", "url": `https://mesonet.agron.iastate.edu/api/1/nwstext/${product_id_raw}` }] @@ -196,7 +195,6 @@ xmpp.on("stanza", (stanza) => { // Send discord msg let embed = { - title: "New Alert", description: bodyData.string, color: 0x00ff00, timestamp: product_id.timestamp,