Fix immediate bugs with Docker + LiquidSoap.

This commit is contained in:
Buster "Silver Eagle" Neece 2018-03-11 23:59:35 -05:00
parent cd54a4e4a1
commit a9fcf2b4cc
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ return function (\Slim\Container $di, array $app_settings) {
$di[\Controller\Api\InternalController::class] = function($di) {
return new \Controller\Api\InternalController(
$di[\AzuraCast\Acl\StationAcl::class],
$di[\Doctrine\ORM\EntityManager::class],
$di[\AzuraCast\Radio\Adapters::class],
$di[\AzuraCast\Sync\NowPlaying::class]
);
};

View File

@ -321,7 +321,7 @@ class Liquidsoap extends BackendAbstract
protected function _getApiUrlCommand($endpoint, $params = [])
{
// Docker cURL-based API URL call with API authentication.
if (APP_INSIDE_DOCKER && false) {
if (APP_INSIDE_DOCKER) {
$params = (array)$params;
$params['api_auth'] = $this->station->getAdapterApiKey();