change top to top 50
This commit is contained in:
parent
27e9a91f31
commit
ef4cbc4015
@ -30,7 +30,7 @@ public class ScoresController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A GET mapping to retrieve the top
|
* A GET mapping to retrieve the top
|
||||||
* 100 scores for a platform
|
* 50 scores for a platform
|
||||||
*
|
*
|
||||||
* @param platform the platform to get the scores from
|
* @param platform the platform to get the scores from
|
||||||
* @return the scores
|
* @return the scores
|
||||||
@ -39,7 +39,7 @@ public class ScoresController {
|
|||||||
@ResponseBody
|
@ResponseBody
|
||||||
@GetMapping(value = "/top/{platform}")
|
@GetMapping(value = "/top/{platform}")
|
||||||
public ResponseEntity<List<?>> getTopScores(@PathVariable String platform) {
|
public ResponseEntity<List<?>> getTopScores(@PathVariable String platform) {
|
||||||
return ResponseEntity.ok(trackedScoreService.getTopScores(Platform.Platforms.getPlatform(platform), 100));
|
return ResponseEntity.ok(trackedScoreService.getTopScores(Platform.Platforms.getPlatform(platform), 50));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user