diff --git a/lib/lolapi.js b/lib/lolapi.js index 30e43e3..d8ba879 100644 --- a/lib/lolapi.js +++ b/lib/lolapi.js @@ -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 += '&'; }