to sequential
parent
562a5a2020
commit
cb3afda011
|
@ -65,6 +65,9 @@ class AlbumsController extends ApiBase
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Convert $list to sequential array
|
||||||
|
$list = array_values($list);
|
||||||
|
|
||||||
return new JSONResponse($list, Http::STATUS_OK);
|
return new JSONResponse($list, Http::STATUS_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue