diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-16 10:37:26 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-16 10:39:15 +0200 |
commit | 904af66ec030696ecd4a85530d785544914ec46e (patch) | |
tree | 484c5219e972e2587bcbbb2021667433a7d4e101 /sw-client/src | |
parent | Remove personal bintray repo now that jcenter sync works (diff) | |
download | seven-wonders-904af66ec030696ecd4a85530d785544914ec46e.tar.gz seven-wonders-904af66ec030696ecd4a85530d785544914ec46e.tar.bz2 seven-wonders-904af66ec030696ecd4a85530d785544914ec46e.zip |
Fix path for lobby/updateSettings
Diffstat (limited to 'sw-client/src')
-rw-r--r-- | sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<LobbyDTO> = |