This commit is contained in:
asyncnomi 2023-01-04 00:38:12 +01:00
parent 9b12b070ef
commit 3d12c9e573

View file

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