diff --git a/index.js b/index.js index 633c1b6..bce5fb4 100644 --- a/index.js +++ b/index.js @@ -122,6 +122,7 @@ fastify.post('/addPrank', async (request, reply) => { if (amount < MaxAmountCrepe) { let prankUid = makeid(16); PrankData[prankUid] = { + date: new Date(), creator: content.uid, type: content.type, where: content.where, diff --git a/static/index.html b/static/index.html index 6e8c011..cfabfec 100644 --- a/static/index.html +++ b/static/index.html @@ -79,8 +79,13 @@ -