---
# System prepended metadata

title: 'Premstat April, 2020'

---

# Premstat April, 2020

### Update of changes requested from BE (June 10)
- [ ] `last6` prop inside `fixtures`'s `hometeam` or `awayteam` is an object instead of an array on `/team` endpoint.
- [ ] last6 in `/teamstats` returning a huge string. Need an actual JSON array. 
- [ ] In `/matches` endpoint, `last6` property is returning a string instead of an array:
![](https://i.imgur.com/ZHoBKx2.png)
- [ ] We're expecting the `fixtures` property on the  `/matches` endpoint to exactly match the `fixtures` property of the `/team` endpoint. We use the same table on both pages and the table will break if the fixtures of either of these pages is different.

- [x] Hudderfield Town returns wrong data on almost any endpoint where it appears. Check `/team&id=251` endpoint.

- [ ] in the `api/stats.php?wins`, `lastXWins`, `lastXDraws` and `lastXLosses` objects miss `match id`.
- [ ] In the `api/stats.php?wins` we get the exact same 6 matches in the `lastXWins`, `lastXDraws`, and `lastXLosses` properties of the response.
- [ ] Some matches have no status. like [Match `11867574`](https://premstatpro.tk/core/api/stats.php?match&id=11867574) ![](https://i.imgur.com/3HHimb9.png)