diff options
Diffstat (limited to 'build/cleaners/skyblock/profiles.js')
-rw-r--r-- | build/cleaners/skyblock/profiles.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cleaners/skyblock/profiles.js b/build/cleaners/skyblock/profiles.js index ba84303..b916209 100644 --- a/build/cleaners/skyblock/profiles.js +++ b/build/cleaners/skyblock/profiles.js @@ -20,7 +20,7 @@ async function cleanSkyblockProfilesResponse(data) { // let cleanedProfile = await cleanSkyblockProfileResponseLighter(profile) promises.push(profile_1.cleanSkyblockProfileResponse(profile)); } - const cleanedProfiles = await Promise.all(promises); + const cleanedProfiles = (await Promise.all(promises)).filter(p => p); return cleanedProfiles; } exports.cleanSkyblockProfilesResponse = cleanSkyblockProfilesResponse; |