summaryrefslogtreecommitdiff
path: root/sw-client/src/commonMain/kotlin/org
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-04-16 10:37:26 +0200
committerJoffrey Bion <joffrey.bion@booking.com>2020-04-16 10:39:15 +0200
commit904af66ec030696ecd4a85530d785544914ec46e (patch)
tree484c5219e972e2587bcbbb2021667433a7d4e101 /sw-client/src/commonMain/kotlin/org
parentRemove personal bintray repo now that jcenter sync works (diff)
downloadseven-wonders-904af66ec030696ecd4a85530d785544914ec46e.tar.gz
seven-wonders-904af66ec030696ecd4a85530d785544914ec46e.tar.bz2
seven-wonders-904af66ec030696ecd4a85530d785544914ec46e.zip
Fix path for lobby/updateSettings
Diffstat (limited to 'sw-client/src/commonMain/kotlin/org')
-rw-r--r--sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt2
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> =
bgstack15