celeroncoder/playerstatpml

Refactor the API root navigation

Closed this issue · 0 comments

Description
In the API root the navigation object topClubs has the wrong route, i.e api/v1/stats/top/players/:category.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to API-ROOT
  2. See the topClub.route prop.
  3. See the error

Expected behavior
topClubs.route should be api/v1/stats/top/clubs/:category.