1 parent
037ed54ed9
commit
023e55c1bf
3 files changed
+9
-6
No files matched your search
@@ -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