Skip to content

Commit

Permalink
Merge pull request emmorts#5 from nimashoghi/master
Browse files Browse the repository at this point in the history
Fix current game bug
  • Loading branch information
emmorts committed Dec 16, 2015
2 parents 50da691 + 19e74d3 commit 77a4c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/currentGame.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = function (region) {
options.region = options.region || region || config.defaultRegion;
options.uri = config.uri.CURRENT_GAME;
options.id = summonerId;
options.platformId = config.platforms[options.region];
options.platformId = config.platforms[options.region].id;
options.endpoint = 'api.pvp.net';

util.exec(options, callback);
Expand Down

0 comments on commit 77a4c8c

Please sign in to comment.