diff --git a/app/controllers/api/storage.php b/app/controllers/api/storage.php index 8937beb851..e2a3c2de6b 100644 --- a/app/controllers/api/storage.php +++ b/app/controllers/api/storage.php @@ -494,7 +494,7 @@ App::post('/v1/storage/buckets/:bucketId/files') } if ($chunksUploaded === $chunks) { - $connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); + $connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); /** @TODO : move this to the registry or someplace else */ $device = STORAGE_DEVICE_LOCAL; try { $dsn = new DSN($connection); diff --git a/app/workers/builds.php b/app/workers/builds.php index cb553652d8..348794c743 100644 --- a/app/workers/builds.php +++ b/app/workers/builds.php @@ -79,7 +79,7 @@ class BuildsV1 extends Worker throw new Exception('Runtime "' . $function->getAttribute('runtime', '') . '" is not supported'); } - $connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); + $connection = App::getEnv('_APP_CONNECTIONS_STORAGE', ''); /** @TODO : move this to the registry or someplace else */ $device = STORAGE_DEVICE_LOCAL; try { $dsn = new DSN($connection);