mirror of
https://github.com/koel/koel
synced 2024-12-23 11:03:05 +00:00
13 lines
292 B
PHP
13 lines
292 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\MediaInformation;
|
|
|
|
use App\Models\Album;
|
|
|
|
class AlbumController extends Controller
|
|
{
|
|
public function show(Album $album)
|
|
{
|
|
return response()->json($this->mediaInformationService->getAlbumInformation($album)?->toArray() ?: []);
|
|
}
|
|
}
|