Skip to content

Commit

Permalink
Sort matches by most recently played
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McDonald committed Jul 8, 2015
1 parent 832e713 commit 2351e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/match_history_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ def fetch(summoner_name, region)
return []
end

JSON.parse(match_history_response)['matches']
JSON.parse(match_history_response)['matches'].reverse
end
end

0 comments on commit 2351e7f

Please sign in to comment.