mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-09-19 12:43:52 +00:00
fetch added directly to tournament page
This commit is contained in:
@@ -14,5 +14,5 @@ export default async function getTournaments(country: string) {
|
||||
if (res.status !== 200) {
|
||||
throw new Error("Failed to fetch tournament data");
|
||||
}
|
||||
return res.json();
|
||||
return await res.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user