Skip to content

Commit

Permalink
getTopLiveGame parameter typo
Browse files Browse the repository at this point in the history
*Line 77: Changed 'parner' to 'partner'. Works for me when partner = 1.
  • Loading branch information
sentry committed Aug 20, 2016
1 parent a3fedbc commit 49a783e
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 49a783e

Please sign in to comment.