Dashboard Live
This commit is contained in:
@@ -25,6 +25,14 @@ $items = $service->getCurrentProgrammes($data, $config);
|
||||
|
||||
$now = new DateTimeImmutable('now', new DateTimeZone($timezone));
|
||||
|
||||
require_once '/var/www/src/Services/LogoService.php';
|
||||
|
||||
foreach ($items as &$item) {
|
||||
$item['logo_url'] = LogoService::getLogoUrl($item['channel_id']);
|
||||
}
|
||||
|
||||
unset($item);
|
||||
|
||||
ApiResponse::json([
|
||||
'ok' => true,
|
||||
'timestamp' => $now->getTimestamp(),
|
||||
|
||||
Reference in New Issue
Block a user