bla
This commit is contained in:
parent
311c25f2c9
commit
655d44e918
1 changed files with 5 additions and 0 deletions
5
index.js
5
index.js
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue