Skip to content

Commit

Permalink
Merge pull request #3 from sentrythethird/patch-1
Browse files Browse the repository at this point in the history
getTopLiveGame parameter typo
  • Loading branch information
booxood committed Aug 22, 2016
2 parents a3fedbc + 49a783e commit 8012727
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/registeredApiMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function getTournamentPlayerStats(options) {
}

function getTopLiveGame(options) {
var validOptionKeys = ['parner'];
var validOptionKeys = ['partner'];
var path = 'IDOTA2Match_' + this.ID + '/GetTopLiveGame/v1';

return this._request(path, validOptionKeys, options);
Expand Down Expand Up @@ -133,4 +133,4 @@ exports.default = {
getRarities: getRarities,
getHeroes: getHeroes,
getTournamentPrizePool: getTournamentPrizePool
};
};

0 comments on commit 8012727

Please sign in to comment.