mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 07:11:48 +00:00
fix: refinement cards getter returning undefined
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user