diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-04-27 18:05:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 18:05:06 -0500 |
commit | 2b309975eec24b09dab95076c433e9392dc2e3ed (patch) | |
tree | c749fd7b21b2c0229683b3d04f20cf7ab9436859 | |
parent | b876aa18f6255e711c548875c6d715997ce011b0 (diff) | |
download | skyblock-api-2b309975eec24b09dab95076c433e9392dc2e3ed.tar.gz skyblock-api-2b309975eec24b09dab95076c433e9392dc2e3ed.tar.bz2 skyblock-api-2b309975eec24b09dab95076c433e9392dc2e3ed.zip |
Total leaderboards leaderboard (#13)
* add leaderboards leaderboard
* slightly optimize fetchPlayer to not unnecessarily fetch the same player twice
* Compiled TS into JS
* fix errors with fetch
* fix random bugs that made people disappear from leaderboards
* Update hypixelCached.js
-rw-r--r-- | src/database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts index a974f6c..983dcb2 100644 --- a/src/database.ts +++ b/src/database.ts @@ -434,4 +434,4 @@ if (typeof global.it !== 'function') { // cache leaderboard players again every 4 hours setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000) }) -}
\ No newline at end of file +} |