diff --git a/src/main/java/vc/controller/PlaytimeController.java b/src/main/java/vc/controller/PlaytimeController.java index 49ec3f6..774e903 100644 --- a/src/main/java/vc/controller/PlaytimeController.java +++ b/src/main/java/vc/controller/PlaytimeController.java @@ -107,7 +107,8 @@ public ResponseEntity playtime( public ResponseEntity playtimeTopMonth() { var players = dsl .selectFrom(PLAYTIME_MONTH) - .fetchStream() + .fetch() + .stream() .map(playtimeAllMonthRecord -> new PlayerPlaytimeData( playtimeAllMonthRecord.get(PLAYTIME_MONTH.PLAYER_UUID), playtimeAllMonthRecord.get(PLAYTIME_MONTH.PLAYER_NAME),