Commit 63f1966
committed
fix(AppStore\Fetcher): Ensure
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>get returns an array1 parent 4121b84 commit 63f1966
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments