When fetch fails and the `data` prop contains null (e.g. `json_decode` failed), then we should return an empty array instead of null. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> |
||
|---|---|---|
| .. | ||
| Bundles | ||
| Fetcher | ||
| Version | ||
When fetch fails and the `data` prop contains null (e.g. `json_decode` failed), then we should return an empty array instead of null. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> |
||
|---|---|---|
| .. | ||
| Bundles | ||
| Fetcher | ||
| Version | ||