From e77c42eaf22299882b8e6a4d6ea6350987562a85 Mon Sep 17 00:00:00 2001 From: Bram Adams <3282661+bramses@users.noreply.github.com> Date: Thu, 5 Oct 2023 20:29:44 -0400 Subject: [PATCH] set amt --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index c038259..69f3855 100644 --- a/server.js +++ b/server.js @@ -58,7 +58,7 @@ app.post('/share', async (req, res) => { app.post('/random', async (req, res) => { let amount = 1 if (req.body.amount) - amount = req.amount + amount = req.body.amount const result = await fetchRandomHighlight(amount) res.send(result) })