aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-03-01 21:19:37 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-03-01 21:19:37 -0600
commite243979611f6855997fbc704bbc499781171578e (patch)
tree315464f920a53de086df3afee1a53a779e50b508 /build
parent3d9098127dcb2059bc975561891e97c61d7d9f74 (diff)
downloadskyblock-api-e243979611f6855997fbc704bbc499781171578e.tar.gz
skyblock-api-e243979611f6855997fbc704bbc499781171578e.tar.bz2
skyblock-api-e243979611f6855997fbc704bbc499781171578e.zip
Update hypixelCached.js
Diffstat (limited to 'build')
-rw-r--r--build/hypixelCached.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js
index 87f4a9e..00cc828 100644
--- a/build/hypixelCached.js
+++ b/build/hypixelCached.js
@@ -112,7 +112,7 @@ async function uuidFromUser(user) {
// not cached, actually fetch mojang api now
let { uuid, username } = await mojang.mojangDataFromUser(user);
if (!uuid) {
- usernameCache.set(uuid, null);
+ usernameCache.set(user, null);
return;
}
// remove dashes from the uuid so its more normal