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;
}
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',