This commit is contained in:
asyncnomi 2023-01-04 00:08:05 +01:00
parent 311c25f2c9
commit 655d44e918

View file

@ -489,6 +489,11 @@ fastify.post('/sendTreasure', async (request, reply) => {
state: "Pending"
}
saveData(treasurePath, TreasureData);
return {
success: true,
uid: treasureUid,
treasure: TreasureData[treasureUid]
}
} else {
return {
success: false,