This commit is contained in:
@@ -27,7 +27,7 @@ class MultiDownloaderClient
|
||||
throw new \InvalidArgumentException('API key is required');
|
||||
}
|
||||
$this->apiKey = $apiKey;
|
||||
|
||||
|
||||
$apiSecret = $options['apiSecret'] ?? getenv('MULTI_DOWNLOADER_SECRET_KEY');
|
||||
if (!$apiSecret) {
|
||||
throw new \InvalidArgumentException('API secret key is required');
|
||||
@@ -41,7 +41,7 @@ class MultiDownloaderClient
|
||||
{
|
||||
$this->files = [];
|
||||
$this->addFiles($files);
|
||||
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user