aboutsummaryrefslogtreecommitdiff
path: root/build/hypixel.js
diff options
context:
space:
mode:
authormat-1 <github@matdoes.dev>2021-03-01 23:22:14 +0000
committermat-1 <github@matdoes.dev>2021-03-01 23:22:14 +0000
commit8149ae89e8861679693536cddfd8a8f25374577d (patch)
tree78913de68e144f570453a60758364236e41d6c0a /build/hypixel.js
parent5967be8d5666b47cba169df5eb3a2eacd87fb844 (diff)
downloadskyblock-api-8149ae89e8861679693536cddfd8a8f25374577d.tar.gz
skyblock-api-8149ae89e8861679693536cddfd8a8f25374577d.tar.bz2
skyblock-api-8149ae89e8861679693536cddfd8a8f25374577d.zip
Compiled TS into JS
Diffstat (limited to 'build/hypixel.js')
-rw-r--r--build/hypixel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/hypixel.js b/build/hypixel.js
index 17d7355..1ea844a 100644
--- a/build/hypixel.js
+++ b/build/hypixel.js
@@ -156,7 +156,7 @@ async function fetchMemberProfileUncached(playerUuid, profileUuid) {
args: { profile: profileUuid }
}, null, { mainMemberUuid: playerUuid });
for (const member of profile.members)
- database_1.updateDatabaseMember(member, profile);
+ database_1.queueUpdateDatabaseMember(member, profile);
return profile;
}
exports.fetchMemberProfileUncached = fetchMemberProfileUncached;
@@ -172,7 +172,7 @@ async function fetchMemberProfilesUncached(playerUuid) {
});
for (const profile of profiles) {
for (const member of profile.members) {
- database_1.updateDatabaseMember(member, profile);
+ database_1.queueUpdateDatabaseMember(member, profile);
}
}
return profiles;