From ff21684f573a1599369b80fbfb4efaee8c96fd1f Mon Sep 17 00:00:00 2001 From: WillDotWhite Date: Wed, 18 Sep 2024 16:09:23 +0100 Subject: [PATCH] Show me 10 results for voting --- .../main/kotlin/com/gmtkvotingsystem/services/ThemeService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/kotlin/com/gmtkvotingsystem/services/ThemeService.kt b/api/src/main/kotlin/com/gmtkvotingsystem/services/ThemeService.kt index aa51b5e..e1daefa 100644 --- a/api/src/main/kotlin/com/gmtkvotingsystem/services/ThemeService.kt +++ b/api/src/main/kotlin/com/gmtkvotingsystem/services/ThemeService.kt @@ -45,7 +45,7 @@ class ThemeService : KoinComponent { .find() .toList() .shuffled(rng) - .subList(0, 3) // todo + .subList(0, 10) // todo .map { theme -> ThemeVotedOnDTO(theme._id, discordId, theme.text, currentVotes[theme._id] ?: 0) } return themes