tmp
This commit is contained in:
parent
9b12b070ef
commit
3d12c9e573
1 changed files with 1 additions and 1 deletions
2
index.js
2
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);
|
||||
|
|
Loading…
Reference in a new issue