Skip to content

Commit

Permalink
Fix #14: Add TEAM_BUILDER_DRAFT_RANKED_5x5 to defaults when getting m…
Browse files Browse the repository at this point in the history
…atch list by summoner.
  • Loading branch information
Jason Walton committed Feb 20, 2016
1 parent 89360cc commit e0b86b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/api/matchlist.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ exports.methods = {
getMatchlistBySummoner: pb.break (region, summonerId, options={}) ->
queryParams = {
championIds: arrayToList options.championIds
rankedQueues: arrayToList(options.rankedQueues ? ['RANKED_SOLO_5x5', 'RANKED_TEAM_3x3', 'RANKED_TEAM_5x5'])
rankedQueues: arrayToList(options.rankedQueues ?
['RANKED_SOLO_5x5', 'RANKED_TEAM_3x3', 'RANKED_TEAM_5x5', 'TEAM_BUILDER_DRAFT_RANKED_5x5'])
seasons: arrayToList options.seasons
beginIndex: options.beginIndex
endIndex: options.endIndex
Expand Down
4 changes: 3 additions & 1 deletion src/constants.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,6 @@ exports.queueTypes = {
HEXAKILL: {gameQueueConfigId: 98, name: "Twisted Treeline 6x6 Hexakill games"}
KING_PORO_5x5: {gameQueueConfigId: 300, name: "King Poro games"}
COUNTER_PICK: {gameQueueConfigId: 310, name: "Nemesis games"}
}
TEAM_BUILDER_DRAFT_UNRANKED_5x5: {gameQueueConfigId: 400, name: "Normal 5v5 Draft Pick games"}
TEAM_BUILDER_DRAFT_RANKED_5x5: {gameQueueConfigId: 410, name: "Ranked 5v5 Draft Pick games"}
}

0 comments on commit e0b86b1

Please sign in to comment.