increase top scores to 100 from 50
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s
This commit is contained in:
parent
a5a69ae979
commit
90ec976939
@ -29,7 +29,7 @@ public class ScoresController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A GET mapping to retrieve the top
|
* A GET mapping to retrieve the top
|
||||||
* 50 scores for a platform
|
* 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
|
||||||
@ -38,7 +38,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), 50));
|
return ResponseEntity.ok(trackedScoreService.getTopScores(Platform.Platforms.getPlatform(platform), 100));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user