From a6844dda42f4274f1765eddb00a69c97c7ba8334 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Wed, 8 Apr 2020 00:28:29 +0200 Subject: Fix tests --- .../org/luxons/sevenwonders/server/controllers/GameBrowserController.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'sw-server/src/main') diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/controllers/GameBrowserController.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/controllers/GameBrowserController.kt index 3de0de97..3fa2ac87 100644 --- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/controllers/GameBrowserController.kt +++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/controllers/GameBrowserController.kt @@ -41,7 +41,6 @@ class GameBrowserController @Autowired constructor( @SubscribeMapping("/games") // prefix /topic not shown fun listGames(principal: Principal): Collection { logger.info("Player '{}' subscribed to /topic/games", principal.name) - val player = playerRepository.find(principal.name) return lobbyRepository.list().map { it.toDTO() } } -- cgit