Skip to content

Commit

Permalink
Merge pull request #31 from johnz133/patch-1
Browse files Browse the repository at this point in the history
Fixed beginIndex and endIndex in getMatchHistory
  • Loading branch information
claudiowilson committed Mar 24, 2015
2 parents f3b7911 + b4f58ef commit 69e8e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lolapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@
historyOptions += '&rankedQueues=' + options.rankedQueues.join();
}
if (options.beginIndex) {
historyOptions += '&version=' + options.beginIndex;
historyOptions += '&beginIndex=' + options.beginIndex;
}
if (options.endIndex) {
historyOptions += '&locale=' + options.endIndex;
historyOptions += '&endIndex=' + options.endIndex;
}
historyOptions += '&';
}
Expand Down

0 comments on commit 69e8e70

Please sign in to comment.