diff --git a/index.js b/index.js index ec44ad7..11bdd1b 100644 --- a/index.js +++ b/index.js @@ -118,7 +118,7 @@ fastify.post('/addPrank', async (request, reply) => { && "supplement" in content) { let amount = parseInt(content.amount) if (!isNaN(amount)) { - if (!Supplements.includes(content.supplement)) { + if (Supplements.includes(content.supplement)) { if (amount < MaxAmountCrepe) { let prankUid = makeid(16); PrankData[prankUid] = {