aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/skyblock/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/cleaners/skyblock/profile.js')
-rw-r--r--build/cleaners/skyblock/profile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cleaners/skyblock/profile.js b/build/cleaners/skyblock/profile.js
index 45ef57b..da988cc 100644
--- a/build/cleaners/skyblock/profile.js
+++ b/build/cleaners/skyblock/profile.js
@@ -34,7 +34,7 @@ async function cleanSkyblockProfileResponseLighter(data) {
// we pass an empty array to make it not check stats
promises.push(member_1.cleanSkyBlockProfileMemberResponseBasic(memberRaw));
}
- const cleanedMembers = await Promise.all(promises);
+ const cleanedMembers = (await Promise.all(promises)).filter(m => m);
return {
uuid: data.profile_id,
name: data.cute_name,