holy fuck.
This commit is contained in:
@@ -25,7 +25,8 @@ export class EventRequests {
|
||||
return fetch(url)
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
return new EventDto(data.name, data.token, data.dates)
|
||||
console.log(data);
|
||||
return new EventDto(data.name, data.token, data.attendances);
|
||||
})
|
||||
.catch(error => console.error(error));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user