Oui oui baguette

This commit is contained in:
Laurent
2025-03-19 14:27:15 +01:00
parent 83a0a23268
commit 9cea2c3239
21 changed files with 165 additions and 157 deletions

View File

@@ -24,7 +24,7 @@ export class EventRequests {
let url = this.formatUrl([this.baseUrl, this.endpoints.EVENTS, token]);
return fetch(url)
.then(response => response.json())
.then(data => new EventDto(data.name, data.token, data.participants))
.then(data => new EventDto(data.name, data.token, data.attendees))
.catch(error => console.error(error));
}
}