From 4cb638a07b2682f51a5bd77c4a3d4caa1b3acc5d Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 18 Aug 2023 20:29:00 -0600 Subject: [PATCH] a --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 4fafe48..2aa68ff 100644 --- a/index.js +++ b/index.js @@ -61,6 +61,7 @@ app.post('/sms', async (req, res) => { } } })(); + if (!out['text'] && !out['images']) return res.send("OK"); hook.send({ content: out['text'], files: out['images'],