to sequential

pull/505/head
Genki Sakanashi 2023-03-21 12:41:41 +09:00
parent 562a5a2020
commit cb3afda011
1 changed files with 3 additions and 0 deletions

View File

@ -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);
} }