From 3d12c9e573f2ca35fe3448f2998296b396974f6f Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Wed, 4 Jan 2023 00:38:12 +0100 Subject: [PATCH] tmp --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index c99737e..daa1af7 100644 --- a/index.js +++ b/index.js @@ -558,7 +558,7 @@ fastify.post('/acceptTreasure', async (request, reply) => { if (treasureExists.success) { TreasureData[content.treasureUid].state = "Accepted"; saveData(treasurePath, TreasureData); - console.log(TreasureData[content.treasureUid].activityUid) + console.log(TreasureData[content.treasureUid]) console.log(ActivityData[TreasureData[content.treasureUid].activityUid]) ActivityData[TreasureData[content.treasureUid].activityUid].treasureState = "Accepted"; saveData(activityPath, ActivityData);