fix: return 404 when tournament not found
This commit is contained in:
@ -37,7 +37,7 @@ class Tourmanent
|
||||
let response = await this.client._get(`/api/tournaments/${id}`);
|
||||
|
||||
if (response.status === 404)
|
||||
return null;
|
||||
return 1;
|
||||
|
||||
let response_data = await response.json();
|
||||
|
||||
|
Reference in New Issue
Block a user