mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13:06 +00:00
13 lines
298 B
PHP
13 lines
298 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\API\MediaInformation;
|
|
|
|
use App\Models\Artist;
|
|
|
|
class ArtistController extends Controller
|
|
{
|
|
public function show(Artist $artist)
|
|
{
|
|
return response()->json($this->mediaInformationService->getArtistInformation($artist)?->toArray() ?: []);
|
|
}
|
|
}
|