Compare commits

...

1 Commits

Author SHA1 Message Date
92a7bc0586 feat: Update joinGame endpoint to accept gameId as a path parameter 2026-01-07 16:56:34 +01:00

View File

@@ -14,8 +14,7 @@ const startGameQuasar = async() => {
return; return;
} }
isLoading.value = true; isLoading.value = true;
axios.post(`${api}/joinGame`, {gameId: lobbyCode.value.toString()}, {withCredentials: true}).then(response => { axios.post(`${api}/joinGame/${lobbyCode.value.toString()}`, {}, {withCredentials: true}).then(() => {
const responseData = response.data
$q.notify({ $q.notify({
message: `Lobby "${lobbyCode.value}" erfolgreich gefunden`, message: `Lobby "${lobbyCode.value}" erfolgreich gefunden`,
color: 'green-6', color: 'green-6',