fix: refinement cards getter returning undefined

This commit is contained in:
LuanRT
2022-06-14 17:50:12 -03:00
parent 20600fcc04
commit 3c98244c3b

View File

@@ -73,7 +73,7 @@ class Search {
target_card = this.refinement_cards.cards.get({ query: card });
if (!target_card)
throw new InnertubeError('Refinement card not found!',
{ available_cards: this.refinement_card_query_list }
{ available_cards: this.refinement_card_queries }
);
} else if (card.type === 'searchRefinementCardRenderer') {
target_card = card;