END for me boi
This commit is contained in:
parent
62acb5cdc7
commit
de6a12a912
2 changed files with 7 additions and 3 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);
|
||||
ActivityData[GoldenUsers[activityUid].activityUid].treasureState = "Accepted";
|
||||
ActivityData[TreasureData[content.treasureUid].activityUid].treasureState = "Accepted";
|
||||
saveData(activityPath, ActivityData);
|
||||
GoldenUsers[TreasureData[content.treasureUid].activityUid] = {
|
||||
userUid: TreasureData[content.treasureUid].creator,
|
||||
|
|
|
@ -242,13 +242,17 @@ button[type="submit"]:hover {
|
|||
border-left: 3px solid black;
|
||||
}
|
||||
|
||||
.activity-uid, .prank-uid, .prank-date, .treasure-uid {
|
||||
.activity-uid, .prank-uid, .prank-date, .treasure-uid, .treasure-date {
|
||||
color: #00000078;
|
||||
margin-top: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.prank-date {
|
||||
.prank-date, .treasure-date {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.treasure-image>a {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue