Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #50 from lwojcik/all_sum_bugfix
Browse files Browse the repository at this point in the history
fixing all summary endpoint bug
  • Loading branch information
Łukasz Wójcik authored Feb 8, 2018
2 parents 322a2ef + e60b275 commit 1a3c3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/v1/sc2/player/mmr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ router.get(`/:mode/:filter/${playerPath}`, apicache(cache.request), (req, res) =
const { mode, filter } = req.params;

if (mode.toUpperCase() === 'ALL' && filter.toUpperCase() === 'SUM') {
sc2playerApi.getPlayerAllLaddersSummary(mode, req.params)
sc2playerApi.getPlayerAllLaddersSummary(req.params)
.then(data => res.json(data))
.catch(error => res.json(error));
} else {
Expand Down

0 comments on commit 1a3c3b7

Please sign in to comment.