diff --git a/src/views/JoinGameView.vue b/src/views/JoinGameView.vue index 2a57f38..021f550 100644 --- a/src/views/JoinGameView.vue +++ b/src/views/JoinGameView.vue @@ -14,8 +14,7 @@ const startGameQuasar = async() => { return; } isLoading.value = true; - axios.post(`${api}/joinGame`, {gameId: lobbyCode.value.toString()}, {withCredentials: true}).then(response => { - const responseData = response.data + axios.post(`${api}/joinGame/${lobbyCode.value.toString()}`, {}, {withCredentials: true}).then(() => { $q.notify({ message: `Lobby "${lobbyCode.value}" erfolgreich gefunden`, color: 'green-6',