END for me boi

This commit is contained in:
asyncnomi 2023-01-04 00:30:39 +01:00
parent 62acb5cdc7
commit de6a12a912
2 changed files with 7 additions and 3 deletions

View file

@ -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,

View file

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