Skip to content

Commit

Permalink
League of graphs: fixed TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzzzen committed Nov 17, 2018
1 parent 2d403e4 commit 6ecc323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/providers/LeagueofGraphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class LeagueofGraphsProvider extends Provider {
rp({ uri: `${this.base}/skills-orders/${champion.key}${position ? '/' + position : ''}`.toLowerCase(), transform: body => cheerio.load(body) })
]);

const perks = this.scrapePerks(perks, champion, position);
const perks = this.scrapePerks(data[0], champion, position);

const itemsets = Mana.getStore().get('item-sets-enable') ? this.scrapeItemSets(data[1], champion, position, this.scrapeSkillOrder(data[data.length - 1])) : [];
const summonerspells = Mana.getStore().get('summoner-spells') ? this.scrapeSummonerSpells(data[2], champion) : [];
Expand Down

0 comments on commit 6ecc323

Please sign in to comment.