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);