diff --git a/src/route/blizzard/index.ts b/src/route/blizzard/index.ts index 2f46868..1ce5216 100644 --- a/src/route/blizzard/index.ts +++ b/src/route/blizzard/index.ts @@ -107,6 +107,7 @@ async function fetchCharacter( code: activeTree.talent_loadout_code, nodes: activeTree.selected_class_talents .concat(activeTree.selected_spec_talents) + .filter(Boolean) // sometimes the blizzard api does terrible, terrible things .map(({ id, rank }) => ({ id, rank })), } : undefined,