aboutsummaryrefslogtreecommitdiff
path: root/src/database.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-03-01 20:09:07 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-03-01 20:09:07 -0600
commitc8075c866580909cf7a297655b4361a60b1187dc (patch)
treee8949f2c05b98a38791f0286b42099b68e6a3b8d /src/database.ts
parent424ee1ffa18581db3c6e1d07e23995393d37cf5d (diff)
downloadskyblock-api-c8075c866580909cf7a297655b4361a60b1187dc.tar.gz
skyblock-api-c8075c866580909cf7a297655b4361a60b1187dc.tar.bz2
skyblock-api-c8075c866580909cf7a297655b4361a60b1187dc.zip
make the unit for purse show as coins
Diffstat (limited to 'src/database.ts')
-rw-r--r--src/database.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts
index 466e2f1..a4e401a 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -41,7 +41,8 @@ const reversedLeaderboards = [
]
const leaderboardUnits = {
time: ['_best_time', '_best_time_2'],
- date: ['first_join']
+ date: ['first_join'],
+ coins: ['purse']
}
let client: MongoClient