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

Commit

Permalink
fixing all summary endpoint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lwojcik committed Feb 8, 2018
1 parent 322a2ef commit e60b275
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 e60b275

Please sign in to comment.