From ef4cbc4015673e88bb382322eab433dd62215c22 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 27 Jul 2024 20:26:28 +0100 Subject: [PATCH] change top to top 50 --- src/main/java/cc/fascinated/controller/ScoresController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/fascinated/controller/ScoresController.java b/src/main/java/cc/fascinated/controller/ScoresController.java index 8ad129e..c618c68 100644 --- a/src/main/java/cc/fascinated/controller/ScoresController.java +++ b/src/main/java/cc/fascinated/controller/ScoresController.java @@ -30,7 +30,7 @@ public class ScoresController { /** * 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 * @return the scores @@ -39,7 +39,7 @@ public class ScoresController { @ResponseBody @GetMapping(value = "/top/{platform}") public ResponseEntity> getTopScores(@PathVariable String platform) { - return ResponseEntity.ok(trackedScoreService.getTopScores(Platform.Platforms.getPlatform(platform), 100)); + return ResponseEntity.ok(trackedScoreService.getTopScores(Platform.Platforms.getPlatform(platform), 50)); } /**