fix: tournamnet: can join tournament

This commit is contained in:
2024-03-11 10:36:34 +01:00
parent e8921939a0
commit 175169add0
4 changed files with 10 additions and 6 deletions

View File

@ -79,7 +79,7 @@ class Tourmanent
*/
async init()
{
let response = await this.client._get(`/api/tournaments/${id}`);
let response = await this.client._get(`/api/tournaments/${this.id}`);
if (response.status !== 200)
return response.status;