diff options
author | mat <github@matdoes.dev> | 2021-06-29 17:54:50 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-06-29 17:54:50 -0500 |
commit | 49ff24343e1c964b6cb82fdf76957ffd2f27d049 (patch) | |
tree | 820a3668e21dffc7eefa53630944412d9d97a129 /build/cleaners/skyblock/profile.js | |
parent | 758ca15277daa11ce1ec86ce7f07ea7beee9eb8f (diff) | |
parent | c0c534dafb54ebf9f95a5054f576ad99de29f232 (diff) | |
download | skyblock-api-49ff24343e1c964b6cb82fdf76957ffd2f27d049.tar.gz skyblock-api-49ff24343e1c964b6cb82fdf76957ffd2f27d049.tar.bz2 skyblock-api-49ff24343e1c964b6cb82fdf76957ffd2f27d049.zip |
Merge branch 'main' of https://github.com/skyblockstats/skyblock-api into main
Diffstat (limited to 'build/cleaners/skyblock/profile.js')
-rw-r--r-- | build/cleaners/skyblock/profile.js | 2 |
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, |