From 904af66ec030696ecd4a85530d785544914ec46e Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Thu, 16 Apr 2020 10:37:26 +0200 Subject: Fix path for lobby/updateSettings --- .../kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt index 6cccea8f..4a610a81 100644 --- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt +++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt @@ -92,7 +92,7 @@ class SevenWondersSession(private val stompSession: StompSessionWithKxSerializat } suspend fun updateSettings(settings: CustomizableSettings) { - stompSession.convertAndSend("/app/lobby/reorderPlayers", UpdateSettingsAction(settings), UpdateSettingsAction.serializer()) + stompSession.convertAndSend("/app/lobby/updateSettings", UpdateSettingsAction(settings), UpdateSettingsAction.serializer()) } suspend fun watchLobbyUpdates(): StompSubscription = -- cgit