Skip to content

Commit

Permalink
set amt
Browse files Browse the repository at this point in the history
  • Loading branch information
bramses committed Oct 6, 2023
1 parent 31d1eb8 commit e77c42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit e77c42e

Please sign in to comment.